Change Player's Spawn after specific wave in Invasion
Posted: Sat Aug 04, 2012 12:31 am
It's a simple question with more and likely a simple answer that I'm not getting, but in the Invasion gamemode, how do I change the players spawn point for after they die after a specific wave.
Here is the code if you need to see it:
Here is the code if you need to see it:
Code: Select all
#include "zcommon.acs"
#include "customfunction.acs"
script 1 ENTER //opening script
{
printmapname("Marine HQ", "TheRPGLPer, JaundiceJaun", CR_BLUE, CR_WHITE, 5.0);
While((GetInvasionWave() != 3) || (GetInvasionState() != IS_COUNTDOWN))
delay(15);
setfont("ConFont");
printbold(s:"The door to the ammo room in the back of MarineHQ is now open.\nElevators are also lowered in the front to the upper levels.");
floor_lowertolowest(11, 50);
floor_lowerbyvalue(10, 35, 120);
}
script 2 (void) //elevator
{
floor_raisebyvalue(10, 35, 120);
delay(35*5);
floor_lowerbyvalue(10, 35, 120);
}