Garry's Mod Wiki

Revision Difference

ENTITY:OnChangeActivity#552999

<function name="OnChangeActivity" parent="ENTITY" type="hook"> <ishook>yes</ishook>⤶ <description>Called when the NPC has changed its activity. <note>This hook only works for `ai` type entities.</note> </description> <realm>Server</realm> <predicted>No</predicted>⤶ <added>2020.06.24</added> <args> <arg name="act" type="number">The new activity. See <page>Enums/ACT</page>.</arg> </args> </function>