Re: ending level
Posted by Kinnakor on
Sun Jan 9th 2005 at 3:30pm
23 posts
2 snarkmarks
Registered:
Dec 7th 2004
Location: usa
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.
Re: ending level
Posted by SirJim on
Sun Jan 9th 2005 at 3:45pm
SirJim
member
18 posts
22 snarkmarks
Registered:
Jan 7th 2005
Occupation: Student
Location: UK
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 :smile: