Entity.GetSolid

From GMod Wiki

Revision as of 08:04, 7 June 2011 by SiPlus (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Function
Syntax Entity:GetSolid( )
Description:
Returns an Integer that corresponds to a solidEnum .
Returns: Integer
In Object: Entity
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Entity.GetSolid]Entity.GetSolid [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionMake the entity non-solid and get its enumeration.
Used onNewerShared.png
Code
function ENT:Initialize()
   self:SetSolid( SOLID_NONE )
end
 
function ENT:GetSolid()
   self:GetSolid()
end
Output0


Additional Notes

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox