I am trying to make it so when all the enemy npcs are dead the level ends, anyone know how i could do this, this is sp map.
1
Re: ending level
Posted by SirJim on Sun Jan 9th at 3:45pm 2005
Posted by SirJim on Sun Jan 9th at 3:45pm 2005
Ok, first of all find your npc_maker. Create a game_end entity and name
it gameover, or whatever. Go into the 'outputs' tab, and click on
'add'. In the box 'My Output Named' scroll down and find
'OnAllSpawnedDead'. In the box 'Taget Entities Named' type the name of
your game_end entity, in this case, gameover. In the box 'Via This
Input' scroll down and find EndGame (make sure the game_end entity
exists and is linked to in the 'Target Entities Named' box, otherwise
the option, EndGame wont appear). Now when all Npc's have been spawned
and have died, the npc_maker should trigger the game_end entity. Hope
this helped 
[addsig]
[addsig]
1
© Snarkpit.net 2001 - 2023, about us, donate, contact
Snarkpit v6.1.0 created this page in 0.0082 seconds.

Snarkpit v6.1.0 created this page in 0.0082 seconds.


