Revision Difference
ai.GetTaskID#514009
<function name="GetTaskID" parent="ai" type="libraryfunc">⤶
<description>Translates a task name to its corresponding ID.</description>⤶
<realm>Server</realm>⤶
<args>⤶
<arg name="task" type="string">The task name.</arg>⤶
</args>⤶
<rets>⤶
<ret name="" type="number">The task ID, see [ai_task.h](https://github.com/ValveSoftware/source-sdk-2013/blob/55ed12f8d1eb6887d348be03aee5573d44177ffb/mp/src/game/server/ai_task.h#L89-L502). Returns -1 if the schedule name isn't valid.</ret>⤶
</rets>⤶
</function>⤶
⤶