Garry's Mod Wiki

Revision Difference

NPC:TaskComplete#510430

<function name="TaskComplete" parent="NPC" type="classfunc">⤶ <description>⤶ Marks the current NPC task as completed.⤶ ⤶ This is meant to be used alongside <page>NPC:TaskFail</page> to complete or fail custom Lua defined tasks. (<page>Schedule:AddTask</page>)⤶ </description>⤶ <realm>Server</realm>⤶ </function>⤶ ⤶