This is how Wade_Adams and Grimbar helped me with my Borderline Conflict
demo level.
entity* player1;
entity* player2;
entity* current_player;
var in_the_air = 1;
Function main()
{
current_player = player1;//just to have an auto start player
}
function switch()
{
in_the_air = 1;
if (current_player==player1) // end turn so switch to other player
{
current_player = player2;//change to 1 to have only one player
}
else
{
current_player = player1;
}
}
on_tab switch;// or set it so that the switch is triggered by an
explosion, shot or time period.