Garry's Mod Wiki

NPC:TaskComplete

  NPC:TaskComplete()

Description

Marks the current NPC task as completed.

This is meant to be used alongside NPC:TaskFail to complete or fail custom Lua defined tasks. (Schedule:AddTask)