From ec5c25e6aea23572c82723f1641538ed7e656377 Mon Sep 17 00:00:00 2001 From: Anorak_1 Date: Fri, 11 Nov 2022 15:58:56 +0100 Subject: [PATCH] Added team spawning to init --- plugins/scripts/scripts/skybattle.sk | 30 ++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/plugins/scripts/scripts/skybattle.sk b/plugins/scripts/scripts/skybattle.sk index 0d7ef65..5141e64 100644 --- a/plugins/scripts/scripts/skybattle.sk +++ b/plugins/scripts/scripts/skybattle.sk @@ -103,12 +103,42 @@ command /minigame_skybattle_start: if {skybattle::current_arena} is 1: set {skybattle::stop_players} to "True" + spawnteam(1, 1) #team, spawner + spawnteam(2, 2) + spawnteam(3, 3) + spawnteam(4, 4) + spawnteam(5, 5) + spawnteam(6, 6) + spawnteam(7, 7) + spawnteam(8, 8) + spawnteam(9, 9) + spawnteam(10, 10) if {skybattle::current_arena} is 2: set {skybattle::stop_players} to "True" + spawnteam(1, 1) + spawnteam(2, 2) + spawnteam(3, 3) + spawnteam(4, 4) + spawnteam(5, 5) + spawnteam(6, 6) + spawnteam(7, 7) + spawnteam(8, 8) + spawnteam(9, 9) + spawnteam(10, 10) if {skybattle::current_arena} is 3: set {skybattle::stop_players} to "True" + spawnteam(1, 1) + spawnteam(2, 2) + spawnteam(3, 3) + spawnteam(4, 4) + spawnteam(5, 5) + spawnteam(6, 6) + spawnteam(7, 7) + spawnteam(8, 8) + spawnteam(9, 9) + spawnteam(10, 10) if {skybattle::current_arena} is 4: set {skybattle::game_status} to "end"