Garry's Mod Wiki

NPC:TaskFail

NPC:TaskFail

  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

Special Pages


Wikis

?

Render Time: 48ms

DB GetPage 25
Generate Html 2
SaveChanges (1) 13
Render Body 0
Render Sidebar 6