info_npc_spawn_destination

From Source Entities
Jump to navigation Jump to search

Present in:
Hl2.pngHL2
Hl2-episodes.pngEp1&2
Hl2dm-custom.pngHL2:DM
P1.pngPortal
Tf2.pngTF2
Asw.pngASW
P2.pngPortal 2

Code classes:

Info target.png

info_npc_spawn_destination is a point entity present in some Source games. It's used by npc_template_maker as a spawn destination for NPCs.

Keyvalues[edit | edit source]

Reuse Delay (ReuseDelay) <float>
Delay before this destination is eligible for selection again after an NPC is spawned here.
New NPC Name (RenameNPC) <target_source>
New name to give to NPCs that spawn at this destination.

Outputs[edit | edit source]

OnSpawnNPC
Fires when an NPC is spawned at this location. !activator is that NPC.