MOVETYPE Enumerations

From Garry's Mod
Jump to: navigation, search

Enumerations used by Entity:SetMoveType and Entity:GetMoveType.

Warning! Decimal values are for reference only! The actual value may be different between two Garry's Mod versions.
Name Decimal Description
MOVETYPE_NONE 0 Don't move
MOVETYPE_ISOMETRIC 1 For players, in TF2 commander view, etc
MOVETYPE_WALK 2 Player only, moving on the ground
MOVETYPE_STEP 3 Monster/NPC movement
MOVETYPE_FLY 4 Fly, no gravity
MOVETYPE_FLYGRAVITY 5 Fly, with gravity
MOVETYPE_VPHYSICS 6 Physics movetype
MOVETYPE_PUSH 7 No clip to world, but pushes and crushes things
MOVETYPE_NOCLIP 8 Noclip
MOVETYPE_LADDER 9 For players, when moving on a ladder
MOVETYPE_OBSERVER 10 Spectator movetype. DO NOT use this to make player spectate
MOVETYPE_CUSTOM 11 Custom movetype, can be applied to the player to prevent the default movement code from running, while still calling the related hooks
Personal tools
Navigation