Garry's Mod Wiki

ENTITY:RunTask

  ENTITY:RunTask( table task )

Description

Called every think on running task. The actual task function should tell us when the task is finished.

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

Arguments

1 table task
The task to run