Revision Difference
NPC:TaskFail#510428
<function name="TaskFail" parent="NPC" type="classfunc">⤶
<description>⤶
Marks the current NPC task as failed.⤶
⤶
This is meant to be used alongside <page>NPC:TaskComplete</page> to complete or fail custom Lua defined tasks. (<page>Schedule:AddTask</page>)⤶
</description>⤶
<realm>Server</realm>⤶
<args>⤶
<arg name="task" type="string">A string most likely defined as a Source Task, for more information on Tasks go to https://developer.valvesoftware.com/wiki/Task</arg>⤶
</args>⤶
</function>⤶
⤶