1- Map has two bombs.
2- Attacking team sets one bomb.
3- Everyone in attacking team dies.
4- Round continues til bomb blows up, even though the attacking team is already dead, and even though defending team still win even after that bomb blows up.
Here's the coding:
Code: Select all
win_bomb local.bombs:
for (local.i = 1; local.i <= local.bombs.size; local.i++) {
while (local.bombs[local.i].exploded != 1)
wait .1
}
if (level.planting_team == "axis")
teamwin axis
else
teamwin allies
endAlso, could I change the coding above to teamwin level.planting_team instead?
And finally, is it possible to spawn a ladder? I've made ladders before through mapping, but I wonder if it is doable through scripting. Thanks!
