-
Buying Units
-
Events
-
Unit - A unit Sells a unit
-
-
Conditions
-
(Unit-type of (Triggering unit)) Equal to Unit Seller
-
-
Actions
-
Set buyer = (Buying unit)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Owner of (Buying unit)) Equal to Player 1 (Red)
-
-
Then - Actions
-
Unit - Change ownership of (Sold unit) to Neutral Extra and Retain color
-
Unit - Set the custom value of (Sold unit) to 1
-
Player - Add (Supply used by (Sold unit)) to Player 1 (Red) Food used
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Owner of (Buying unit)) Equal to Player 2 (Blue)
-
-
Then - Actions
-
Unit - Change ownership of (Sold unit) to Neutral Extra and Retain color
-
Unit - Set the custom value of (Sold unit) to 2
-
Player - Add (Supply used by (Sold unit)) to Player 2 (Blue) Food used
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Owner of (Buying unit)) Equal to Player 3 (Teal)
-
-
Then - Actions
-
Unit - Change ownership of (Sold unit) to Neutral Extra and Retain color
-
Unit - Set the custom value of (Sold unit) to 3
-
Player - Add (Supply used by (Sold unit)) to Player 3 (Teal) Food used
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Owner of (Buying unit)) Equal to Player 4 (Purple)
-
-
Then - Actions
-
Unit - Change ownership of (Sold unit) to Neutral Victim and Retain color
-
Unit - Set the custom value of (Sold unit) to 4
-
Player - Add (Supply used by (Sold unit)) to Player 4 (Purple) Food used
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Owner of (Buying unit)) Equal to Player 5 (Yellow)
-
-
Then - Actions
-
Unit - Change ownership of (Sold unit) to Neutral Victim and Retain color
-
Unit - Set the custom value of (Sold unit) to 5
-
Player - Add (Supply used by (Sold unit)) to Player 5 (Yellow) Food used
-
-
Else - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Owner of (Buying unit)) Equal to Player 6 (Orange)
-
-
Then - Actions
-
Unit - Change ownership of (Sold unit) to Neutral Victim and Retain color
-
Unit - Set the custom value of (Sold unit) to 6
-
Player - Add (Supply used by (Sold unit)) to Player 6 (Orange) Food used
-
-
Else - Actions
-
-
-
-
-
-
-
-
-
-
-
-
Unit - Order (Sold unit) to Right-Click buyer
-
-