NPC/TaskFail

From Garry's Mod
Jump to: navigation, search
 NPC:TaskFail( )

Description

Marks the current NPC task as failed.

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

Arguments

string task

A string most likely defined as a Source Task, for more information on Tasks go to https://developer.valvesoftware.com/wiki/Task
Personal tools
Navigation