Entity.GetSolid
From GMod Wiki
Function | |
Syntax | Entity:GetSolid( ) |
Description: | |
Returns an Integer that corresponds to a solidEnum . | |
Returns: | Integer |
In Object: | Entity |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Entity.GetSolid]Entity.GetSolid [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | Make the entity non-solid and get its enumeration. |
---|---|
Used on | |
Code | function ENT:Initialize() self:SetSolid( SOLID_NONE ) end function ENT:GetSolid() self:GetSolid() end |
Output | 0 |
Additional Notes
- See Solid for a list of values returned by this function.