Garry's Mod Wiki

Garry's Mod Wiki

  boolean ENTITY:TaskFinished()

Description

Returns true if the current running Task is finished. Tasks finish whenever NPC:TaskComplete is called, which sets TASKSTATUS_COMPLETE for all NPCs, also sets self.bTaskComplete for ai type SENTs.

This hook only exists for ai type SENTs.

Returns

1 boolean
Is the current running Task is finished or not.

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