Garry's Mod Wiki

NPC:TaskFail

void NPC:TaskFail( string task )

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

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

Page Links


Special Pages


Wikis

?

Render Time: 27ms

Session 0
DB GetPage 4
Generate Html 1
SaveChanges 8
Render Body 0
Render Sidebar 12