Garry's Mod Wiki

ENTITY:SetTask

  ENTITY:SetTask( table task )

Description

Sets the current task, to be used in a Lua schedule.

This is a helper function only available if your SENT is based on base_ai

Arguments

1 table task
The task to set.