Garry's Mod Wiki

Revision Difference

Enums/MOVETYPE#515020

<cat>enum</cat>⤶ <enumeration>⤶ <description>Enumerations used by <page>Entity:SetMoveType</page> and <page>Entity:GetMoveType</page>.</description>⤶ <fields>{{EnumField|MOVETYPE_NONE|0|Don't move</fields>⤶ ⤶ </enumeration>⤶ ⤶ ⤶ {{EnumField|MOVETYPE_ISOMETRIC|1|For players, in TF2 commander view, etc}}⤶ {{EnumField|MOVETYPE_WALK|2|Player only, moving on the ground}}⤶ {{EnumField|MOVETYPE_STEP|3|Monster/NPC movement}}⤶ {{EnumField|MOVETYPE_FLY|4|Fly, no gravity}}⤶ {{EnumField|MOVETYPE_FLYGRAVITY|5|Fly, with gravity}}⤶ {{EnumField|MOVETYPE_VPHYSICS|6|Physics movetype}}⤶ {{EnumField|MOVETYPE_PUSH|7|No clip to world, but pushes and crushes things}}⤶ {{EnumField|MOVETYPE_NOCLIP|8|Noclip}}⤶ {{EnumField|MOVETYPE_LADDER|9|For players, when moving on a ladder}}⤶ {{EnumField|MOVETYPE_OBSERVER|10|Spectator movetype. DO **NOT** use this to make player spectate}}⤶ {{EnumField|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}}⤶ }}