Scripts / Npc dead jump to level x

Author
Message
MooKai
GameGuru TGC Backer
15
Years of Service
User Offline
Joined: 22nd Jul 2009
Location: World
Posted: 10th Jul 2015 14:10 Edited at: 10th Jul 2015 14:12
Is it possible to check with a script ....

Last npc dead, jump to level x

Would be great for a single player death match game.
Something like UT2k3 where you fight against bots.

The idea behind is, you can have a lot of fast action on smaller maps, which means a higher performance (framerate).
Old school FPS fan, DOOM!!! Why GG not working on my AMIGA 500?
PM
3com
10
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 10th Jul 2015 15:22
If I understand correctly, you want to move to the next level when all enemies are dead.
Unfortunatelly, IsObjective=1 was dissabled, I thought, it could help.

So, you can declare global variable say, "killcount" and increase it in AI script, inside "exit function" block. as Example:



By another hand, in your "winzone marker" script, assuming you've 10 soldiers in your map, edit as follow:




Can't not test it now.

hth

3com
Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz

OS: Windows 8.1 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics

PM
MooKai
GameGuru TGC Backer
15
Years of Service
User Offline
Joined: 22nd Jul 2009
Location: World
Posted: 10th Jul 2015 15:57
Thanks for the scrips, I will try it when I'm at home
Old school FPS fan, DOOM!!! Why GG not working on my AMIGA 500?
PM

Login to post a reply

Server time is: 2024-12-22 01:35:10
Your offset time is: 2024-12-22 01:35:10