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

Method NPCInit

src/game/server/ai_basenpc.cpp:6776–6929  ·  view source on GitHub ↗

========================================================= NPCInit - after a npc is spawned, it needs to be dropped into the world, checked for mobility problems, and put on the proper path, if any. This function does all of those things after the npc spawns. Any initialization that should take place for all npcs goes here. =========================================================

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 15

UTIL_RemoveFunction · 0.85
WarningFunction · 0.85
GetMotorFunction · 0.85
GetNavigatorFunction · 0.85
ResetActivityIndexesFunction · 0.85
ResetEventIndexesFunction · 0.85
SetHintNodeFunction · 0.85
AllocPooledStringFunction · 0.85
UTIL_VarArgsFunction · 0.85
LookupSequenceFunction · 0.85
SetIdealYawMethod · 0.80
ClearAllMethod · 0.80

Tested by

no test coverage detected