Garry's Mod Wiki

Garry's Mod Wiki

  number ENTITY:TranslateSchedule( number schedule )

Description

Called by the engine to alter NPC schedules, if desired by the NPC.

This hook only exists for ai type SENTs.

Arguments

1 number with SCHED enum schedule
The schedule to translate. See SCHED enum.

Returns

1 number with SCHED enum
The schedule that should override the incoming schedule.

Not returning anything, or returning a non value will perform the default action.

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...