SwedishChef
New Member
- Reaction score
- 32
Trigger:
- Move Hero
- Events
- Conditions
- Actions
- Set ArenaFacing = (Center of Arena Face Point <gen>)
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Game_Mode Equal to 1
- Then - Actions
- Set Integer = 1
- For each (Integer A) from 1 to 4, do (Actions)
- Loop - Actions
- Set Integer = (Integer + ((IntegerA - 1) x 6))
- Player Group - Pick every player in Teams[(Integer A)] and do (Actions)
- Loop - Actions
- Set MyLocation = (Center of Team_Region[Integer])
- Set MyUnitGroup = (Units owned by (Picked player) matching (((Matching unit) is alive) Equal to True))
- Unit Group - Pick every unit in MyUnitGroup and do (Unit - Move (Picked unit) instantly to MyLocation)
- Set Integer = (Integer + 1)
- Custom script: call DestroyGroup(udg_MyUnitGroup)
- Custom script: call RemoveLocation(udg_MyLocation)
- Loop - Actions
- Loop - Actions
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Game_Mode Equal to 2
- Then - Actions
- For each (Integer A) from 1 to 4, do (Actions)
- Loop - Actions
- Player Group - Pick every player in Teams[(Integer A)] and do (Actions)
- Loop - Actions
- If (Lifes[(Player number of (Picked player))] Greater than TempMaxKill) then do (Set TempMaxKill = Lifes[(Player number of (Picked player))]) else do (Do nothing)
- Loop - Actions
- Player Group - Pick every player in Teams[(Integer A)] and do (Actions)
- Loop - Actions
- If (Lifes[(Player number of (Picked player))] Equal to TempMaxKill) then do (Set TeamLeader[(Integer A)] = (Player number of (Picked player))) else do (Do nothing)
- Loop - Actions
- Set MyLocation = (Center of Single_Duell[(Integer A)])
- Set MyUnitGroup = (Units owned by (Player(TeamLeader[(Integer A)])) matching (((Matching unit) is alive) Equal to True))
- Unit Group - Pick every unit in MyUnitGroup and do (Unit - Move (Picked unit) instantly to MyLocation)
- Set TempMaxKill = 0
- Custom script: call DestroyGroup(udg_MyUnitGroup)
- Custom script: call RemoveLocation(udg_MyLocation)
- Player Group - Pick every player in Teams[(Integer A)] and do (Actions)
- Loop - Actions
- For each (Integer A) from 1 to 4, do (Actions)
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Game_Mode Equal to 3
- Then - Actions
- For each (Integer A) from 1 to 4, do (Actions)
- Loop - Actions
- Set MyLocation = (Center of Single_Duell[(Integer A)])
- Set MyUnitGroup = (Units owned by (Random player from Teams[(Integer A)]) matching (((Matching unit) is alive) Equal to True))
- Unit Group - Pick every unit in MyUnitGroup and do (Unit - Move (Picked unit) instantly to MyLocation)
- Custom script: call DestroyGroup(udg_MyUnitGroup)
- Custom script: call RemoveLocation(udg_MyLocation)
- Loop - Actions
- For each (Integer A) from 1 to 4, do (Actions)
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Game_Mode Equal to 4
- Then - Actions
- Set Integer = 1
- Player Group - Pick every player in All_Players and do (Actions)
- Loop - Actions
- Set MyLocation = (Center of Arena_Region[Integer])
- Set MyUnitGroup = (Units owned by (Picked player) matching (((Matching unit) is alive) Equal to True))
- Unit Group - Pick every unit in MyUnitGroup and do (Unit - Move (Picked unit) instantly to MyLocation)
- Set Integer = (Integer + 1)
- If (Integer Greater than 12) then do (Set Integer = 1) else do (Do nothing)
- Custom script: call DestroyGroup(udg_MyUnitGroup)
- Custom script: call RemoveLocation(udg_MyLocation)
- Loop - Actions
- Else - Actions
- If - Conditions
- Set MyUnitGroup = (Units in Arena <gen>)
- Unit Group - Pick every unit in MyUnitGroup and do (Actions)
- Loop - Actions
- Unit - Pause (Picked unit)
- Unit - Make (Picked unit) Invulnerable
- Loop - Actions
- Custom script: call DestroyGroup(udg_MyUnitGroup)
- Custom script: call RemoveLocation(udg_ArenaFacing)