HatchetJesus 1 Posted April 27, 2013 I'm trying to make a mission similar to the game mode "countdown" in red orchestra 2. For those who don't know - Think of it like blitzkrieg, but you only respawn if the objective is taken. My question is how do I make it so that all players (alive and dead) respawn at a marker? (East and West on 2 different markers obviously) :) Thanks Share this post Link to post Share on other sites
neokika 62 Posted April 27, 2013 (edited) You need to set your respawn to Base in your description.ext. respawn = 3; And then create proper markers called: respawn_west respawn_east respawn_guerrila respawn_civilian Note that this way, players will only respawn when appropriate (When they die). If you want to manually respawn them, you can either teleport them or kill them :) By killing them: { if (isPlayer _x) then { _x setDamage 1; }; } forEach allUnits; By teleporting them: { if (isPlayer _x) then { switch (side _x) do { case WEST : { _x setPos getMarkerPos "respawn_west"; }; case EAST : { _x setPos getMarkerPos "respawn_east"; }; case RESISTANCE : { _x setPos getMarkerPos "respawn_guerrila"; }; case CIVILIAN : { _x setPos getMarkerPos "respawn_civilian"; }; }; }; } forEach allUnits; Edited April 27, 2013 by neokika Share this post Link to post Share on other sites
HatchetJesus 1 Posted April 28, 2013 Thanks, that does makes alot of sense! So my next question is this.. How do I stop the players from respawning unless the trigger is activated? Share this post Link to post Share on other sites
Silderoy 1 Posted April 28, 2013 you dont... you can make them spawn in a remote area of the map, then teleport them to the pos where you want them to "spawn" when you want to... Share this post Link to post Share on other sites
killzone_kid 1329 Posted April 28, 2013 Thanks, that does makes alot of sense!So my next question is this.. How do I stop the players from respawning unless the trigger is activated? You can always disableUserInput true; until trigger is activated then disableUserInput false; this way your players will not even be able to leave the game without alt+F4 Share this post Link to post Share on other sites
HatchetJesus 1 Posted April 29, 2013 Thanks for the help, much appreciated. Share this post Link to post Share on other sites