ai.GetTaskID

From Garry's Mod
Jump to: navigation, search
 ai.GetTaskID( )

Description

Translates a task name to its corresponding ID.

Arguments

string task

The task name.

Returns

number

The task ID, see ai_task.h. Returns -1 if the schedule name isn't valid.
Personal tools
Navigation