Garry's Mod Wiki

ENTITY:SetTask

  ENTITY:SetTask( table task )

Description

Sets the current task.

This hook only exists for ai type SENTs.

Arguments

1 table task
The task to set.