Garry's Mod Wiki

NPC:IsRunningBehavior

  boolean NPC:IsRunningBehavior()

Description

Checks if the NPC is running an ai_goal. ( e.g. An npc_citizen NPC following the Player. )

Returns

1 boolean
Returns true if running an ai_goal, otherwise returns false.