ok this is the one :D
parent
f18699803e
commit
3ba4c8c2bd
|
@ -59,6 +59,7 @@ command /minigame_skybattle_start:
|
|||
# časomíra podle které se nastaví zbytek skriptu
|
||||
set {skybattle::time} to 270
|
||||
clear {skybattle::gaming_players::*}
|
||||
resetborder()
|
||||
loop 10 times:
|
||||
loop entries of team "IDList%loop-number%":
|
||||
add loop-value-2 to {skybattle::gaming_players::*}
|
||||
|
@ -73,9 +74,10 @@ command /minigame_skybattle_start:
|
|||
send subtitle "Teleportuji" to all players
|
||||
wait 1 second
|
||||
set {skybattle::intro} to "True"
|
||||
set gamemode of {skybattle::gaming_players::*} to survival
|
||||
set {skybattle::gaming_players::*}'s gamemode to spectator
|
||||
teleport {skybattle::gaming_players::*} to {skybattle::introlocation}
|
||||
set {skybattle::stop_players} to "True"
|
||||
set gamemode of {skybattle::gaming_players::*} to survival
|
||||
hide {skybattle::gaming_players::*}
|
||||
wait 1 second
|
||||
send "§e----------- Oblačný Souboj -----------" to {gaming_players::*}
|
||||
|
@ -93,11 +95,14 @@ command /minigame_skybattle_start:
|
|||
resetborder()
|
||||
|
||||
set {skybattle::current_arena} to 0
|
||||
set {skybattle::gaming_players::*}'s gamemode to spectator
|
||||
clear inventory of {skybattle::gaming_players::*}
|
||||
|
||||
set {skybattle::game_status} to "next"
|
||||
|
||||
if {skybattle::game_status} is "next":
|
||||
set {skybattle::gaming_players::*}'s gamemode to spectator
|
||||
resetborder()
|
||||
loop 10 times:
|
||||
clear {skybattle::IDList%loop-number%::alive_players::*}
|
||||
set {skybattle::IDList%loop-number%::alive_number} to 4
|
||||
|
@ -110,7 +115,6 @@ command /minigame_skybattle_start:
|
|||
clear inventory of {skybattle::gaming_players::*}
|
||||
|
||||
if {skybattle::current_arena} is 1:
|
||||
resetborder()
|
||||
set {skybattle::stop_players} to "True"
|
||||
execute console command "/scoreboard players set Kola XD 1"
|
||||
setbordercenter()
|
||||
|
@ -128,7 +132,6 @@ command /minigame_skybattle_start:
|
|||
spawnteam(10, 10)
|
||||
|
||||
if {skybattle::current_arena} is 2:
|
||||
resetborder()
|
||||
set {skybattle::stop_players} to "True"
|
||||
execute console command "/scoreboard players set Kola XD 2"
|
||||
setbordercenter()
|
||||
|
@ -146,7 +149,6 @@ command /minigame_skybattle_start:
|
|||
spawnteam(10, 9)
|
||||
|
||||
if {skybattle::current_arena} is 3:
|
||||
resetborder()
|
||||
set {skybattle::stop_players} to "True"
|
||||
execute console command "/scoreboard players set Kola XD 3"
|
||||
setbordercenter()
|
||||
|
|
Loading…
Reference in New Issue