Forum

> > CS2D > Maps/Editor > All NPC dead = trigger
Forums overviewCS2D overview Maps/Editor overviewLog in to reply

English All NPC dead = trigger

7 replies
To the start Previous 1 Next To the start

old All NPC dead = trigger

mosta
User Off Offline

Quote
Ok i saw jaso and his thread.But i want to ask something and i dont know is it needed a scirpt or it can be made inside the editor.Ok lets say i spawn 50 zombies(NPC) and i want to make when all 50 NPC are dead a door is open.Like they are all dead and they trigger something.Please help!

old Re: All NPC dead = trigger

Rainoth
Moderator Off Offline

Quote
you could make one zombie 3 or 4 times stronger and killing him will do the thing you want. Like on that zombie you just write what you want to trigger. Unless you spawn zombies with a script.

old Re: All NPC dead = trigger

Devil-Thanh
GAME BANNED Off Offline

Quote
yes it's posible in map editor. it's a map trick. It's use explosion on beakable tile. when 1 zombie is killed it trigger to explosion near the breakable tile and hurt it. when breakable is down, it's trigger to something you want

old Re: All NPC dead = trigger

71
COMMUNITY BANNED Off Offline

Quote
Well, trick is really hard ( I don't actually know how to do it x3 ) I think that user DC should add trigger_count to count, where for example we need to walk around 10 times, and after this, trigger will be "trigged" hahah lellel...

old Re: All NPC dead = trigger

DeLiXx
User Off Offline

Quote
Well if there was a Trigger count people wouldnt have to use the trick
And it also would work multiple times
F.e. everytime someone passes through a doorway, 10 Zombies spawn.
Once they died a Door opens.
Servers wouldnt have to restart after every "run"
To the start Previous 1 Next To the start
Log in to reply Maps/Editor overviewCS2D overviewForums overview