Garry's Mod Wiki

Garry's Mod Wiki

  ENTITY:StartTask( Task task )

Description

Called once on starting task.

This hook only exists for ai type SENTs.

Arguments

1 Task task
The task to start, created by ai_task.New.

Example

How it is defined:

function ENT:StartTask( task ) task:Start( self.Entity ) end

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