Entity.SetMoveType

From GMod Wiki

Jump to: navigation, search
Function
Syntax Entity:SetMoveType( enum movetype )
Description:
Sets the entity's movetype. This function takes a movetype enumeration.
Returns: nil
In Object: Entity
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Entity.SetMoveType]Entity.SetMoveType [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionFreezes a prop/player in place.
Used onNewerShared.png
Code
 Entity:SetMoveType(MOVETYPE_NONE) -- Make its movetype MOVETYPE_NONE, so it sits still. 
OutputN/A


Additional Notes

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox