Garry's Mod Wiki

Garry's Mod Wiki

  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

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...