Garry's Mod Wiki

Revision Difference

Schedule:AddTaskEx#512767

<function name="AddTaskEx" parent="Schedule" type="classfunc">⤶ <description>⤶ Adds a task to the schedule with completely custom function names.⤶ ⤶ See also <page>Schedule:AddTask</page>.⤶ </description>⤶ <realm>Server</realm>⤶ <args>⤶ <arg name="start" type="string">The full name of a function on the entity&#x27;s table to be ran when the task is started.</arg>⤶ <arg name="run" type="string">The full name of a function on the entity&#x27;s table to be ran when the task is continuously running.</arg>⤶ <arg name="data" type="number">Task data to be passed into the NPC&#x27;s functions</arg>⤶ </args>⤶ </function>⤶ ⤶