- Joined
- Feb 14, 2008
- Messages
- 289
I want to know if this trigger works properly.
while unallying everyhing else, even his previous allys.
-
Events
-
Unit - A unit Is attacked
-
-
Conditions
-
(Unit-type of (Attacked unit)) Equal to Main_Hall_Type
-
(Life of (Attacked unit)) Less than or equal to 1000.00
-
(Owner of (Attacked unit)) Equal to Player 1 (Red)
-
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Color of (Owner of (Attacking unit))) Equal to Blue
-
-
Then - Actions
-
Unit - Set life of Mainhall[1] to 100.00%
-
Player - Change color of Player 1 (Red) to (Color of (Owner of (Attacking unit))), Changing color of existing units
-
Player Group - Add Player 1 (Red) to Empire[2]
-
Player Group - Pick every player in Empire[2] and do (Actions)
-
Loop - Actions
-
Player Group - Make Empire[2] treat (All players) as an Enemy
-
Player Group - Make Empire[2] treat Empire[2] as an Ally with shared vision
-
-
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Color of (Owner of (Attacking unit))) Equal to Teal
-
-
Then - Actions
-
Unit - Set life of Mainhall[1] to 100.00%
-
Player - Change color of Player 1 (Red) to (Color of (Owner of (Attacking unit))), Changing color of existing units
-
Player Group - Add Player 1 (Red) to Empire[3]
-
Player Group - Pick every player in Empire[3] and do (Actions)
-
Loop - Actions
-
Player Group - Make Empire[3] treat (All players) as an Enemy
-
Player Group - Make Empire[3] treat Empire[3] as an Ally with shared vision
-
-
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Color of (Owner of (Attacking unit))) Equal to Purple
-
-
Then - Actions
-
Unit - Set life of Mainhall[1] to 100.00%
-
Player - Change color of Player 1 (Red) to (Color of (Owner of (Attacking unit))), Changing color of existing units
-
Player Group - Add Player 1 (Red) to Empire[4]
-
Player Group - Pick every player in Empire[4] and do (Actions)
-
Loop - Actions
-
Player Group - Make Empire[4] treat (All players) as an Enemy
-
Player Group - Make Empire[4] treat Empire[4] as an Ally with shared vision
-
-
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Color of (Owner of (Attacking unit))) Equal to Yellow
-
-
Then - Actions
-
Unit - Set life of Mainhall[1] to 100.00%
-
Player - Change color of Player 1 (Red) to (Color of (Owner of (Attacking unit))), Changing color of existing units
-
Player Group - Add Player 1 (Red) to Empire[5]
-
Player Group - Pick every player in Empire[5] and do (Actions)
-
Loop - Actions
-
Player Group - Make Empire[5] treat (All players) as an Enemy
-
Player Group - Make Empire[5] treat Empire[5] as an Ally with shared vision
-
-
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Color of (Owner of (Attacking unit))) Equal to Orange
-
-
Then - Actions
-
Unit - Set life of Mainhall[1] to 100.00%
-
Player - Change color of Player 1 (Red) to (Color of (Owner of (Attacking unit))), Changing color of existing units
-
Player Group - Add Player 1 (Red) to Empire[6]
-
Player Group - Pick every player in Empire[6] and do (Actions)
-
Loop - Actions
-
Player Group - Make Empire[6] treat (All players) as an Enemy
-
Player Group - Make Empire[6] treat Empire[6] as an Ally with shared vision
-
-
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Color of (Owner of (Attacking unit))) Equal to Green
-
-
Then - Actions
-
Unit - Set life of Mainhall[1] to 100.00%
-
Player - Change color of Player 1 (Red) to (Color of (Owner of (Attacking unit))), Changing color of existing units
-
Player Group - Add Player 1 (Red) to Empire[7]
-
Player Group - Pick every player in Empire[7] and do (Actions)
-
Loop - Actions
-
Player Group - Make Empire[7] treat (All players) as an Enemy
-
Player Group - Make Empire[7] treat Empire[7] as an Ally with shared vision
-
-
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Color of (Owner of (Attacking unit))) Equal to Pink
-
-
Then - Actions
-
Unit - Set life of Mainhall[1] to 100.00%
-
Player - Change color of Player 1 (Red) to (Color of (Owner of (Attacking unit))), Changing color of existing units
-
Player Group - Add Player 1 (Red) to Empire[8]
-
Player Group - Pick every player in Empire[8] and do (Actions)
-
Loop - Actions
-
Player Group - Make Empire[8] treat (All players) as an Enemy
-
Player Group - Make Empire[8] treat Empire[8] as an Ally with shared vision
-
-
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Color of (Owner of (Attacking unit))) Equal to Gray
-
-
Then - Actions
-
Unit - Set life of Mainhall[1] to 100.00%
-
Player - Change color of Player 1 (Red) to (Color of (Owner of (Attacking unit))), Changing color of existing units
-
Player Group - Add Player 1 (Red) to Empire[9]
-
Player Group - Pick every player in Empire[9] and do (Actions)
-
Loop - Actions
-
Player Group - Make Empire[9] treat (All players) as an Enemy
-
Player Group - Make Empire[9] treat Empire[9] as an Ally with shared vision
-
-
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Color of (Owner of (Attacking unit))) Equal to Light Blue
-
-
Then - Actions
-
Unit - Set life of Mainhall[1] to 100.00%
-
Player - Change color of Player 1 (Red) to (Color of (Owner of (Attacking unit))), Changing color of existing units
-
Player Group - Add Player 1 (Red) to Empire[10]
-
Player Group - Pick every player in Empire[10] and do (Actions)
-
Loop - Actions
-
Player Group - Make Empire[10] treat (All players) as an Enemy
-
Player Group - Make Empire[10] treat Empire[10] as an Ally with shared vision
-
-
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Color of (Owner of (Attacking unit))) Equal to Dark Green
-
-
Then - Actions
-
Unit - Set life of Mainhall[1] to 100.00%
-
Player - Change color of Player 1 (Red) to (Color of (Owner of (Attacking unit))), Changing color of existing units
-
Player Group - Add Player 1 (Red) to Empire[11]
-
Player Group - Pick every player in Empire[11] and do (Actions)
-
Loop - Actions
-
Player Group - Make Empire[11] treat (All players) as an Enemy
-
Player Group - Make Empire[11] treat Empire[11] as an Ally with shared vision
-
-
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Color of (Owner of (Attacking unit))) Equal to Brown
-
-
Then - Actions
-
Unit - Set life of Mainhall[1] to 100.00%
-
Player - Change color of Player 1 (Red) to (Color of (Owner of (Attacking unit))), Changing color of existing units
-
Player Group - Add Player 1 (Red) to Empire[12]
-
Player Group - Pick every player in Empire[12] and do (Actions)
-
Loop - Actions
-
Player Group - Make Empire[12] treat (All players) as an Enemy
-
Player Group - Make Empire[12] treat Empire[12] as an Ally with shared vision
-
-
-
-
Else - Actions
-
Do nothing
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
while unallying everyhing else, even his previous allys.