Garry's Mod Wiki

Garry's Mod Wiki

  boolean ENTITY:OverrideMoveFacing( number interval, table AILMG )

Description

Called to completely override the direction NPC will be facing during navigation.

This hook only exists for ai type SENTs.
This hook is called by the default movement hook. Returning true inside ENTITY:OverrideMove will prevent engine from calling this hook.

Arguments

1 number interval
Time interval for the movement, in seconds. Usually time since last movement.
2 table AILMG
Extra data for the movement. A table containing the following data:

Returns

1 boolean
Return true to disable the default movement facing code.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...