MCPcopy Create free account
hub / github.com/ValveSoftware/source-sdk-2013 / FixScriptNPCSchedule

Method FixScriptNPCSchedule

src/game/server/scripted.cpp:1086–1099  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Purpose: When a NPC finishes a scripted sequence, we have to fix up its state and schedule for it to return to a normal AI NPC. Scripted sequences just dirty the Schedule and drop the NPC in Idle State. Input : *pNPC - -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

ScriptEntityCancelMethod · 0.80

Calls 3

GetIdealStateMethod · 0.80
SetIdealStateMethod · 0.80
ClearScheduleMethod · 0.45

Tested by

no test coverage detected