ShinyStar47
New Member
- Reaction score
- 3
Question about my map
_________________________________________________________________
_________________________________________________________________
Player Start Building
Events
Unit - A unit Pawns an item (to shop)
Conditions
Actions
Unit - Create 1 Town Hall for (Owner of (Triggering unit)) at ((Owner of (Triggering unit)) start location) facing Default building facing degrees
Orc Race
Events
Unit - A unit Acquires an item
Conditions
(Item-type of (Item being manipulated)) Equal to Orc Race/Blood Orc Race/Demon Race
Actions
Item - Remove (Item being manipulated)
Unit - Create 1 CreepCreator (Orc level 1) for (Owner of (Triggering unit)) at ((Owner of (Triggering unit)) start location) facing Default building facing (270.0) degrees
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 - Remove Race Chooser 0025 <gen> from the game
Visibility - Create an initially Disabled visibility modifier for Player 1 (Red) emitting Visibility across Disabled Visibility 2 <gen>
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Selling unit)) Equal to Player 2 (Blue)
Then - Actions
Unit - Remove Race Chooser 0026 <gen> from the game
Visibility - Create an initially Disabled visibility modifier for Player 2 (Blue) emitting Visibility across Disabled Visibility 2 <gen>
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Selling unit)) Equal to Player 3 (Teal)
Then - Actions
Unit - Remove Race Chooser 0029 <gen> from the game
Visibility - Create an initially Disabled visibility modifier for Player 3 (Teal) emitting Visibility across Disabled Visibility 2 <gen>
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Selling unit)) Equal to Player 4 (Purple)
Then - Actions
Unit - Remove Race Chooser 0021 <gen> from the game
Visibility - Create an initially Disabled visibility modifier for Player 4 (Purple) emitting Visibility across Disabled Visibility 2 <gen>
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Selling unit)) Equal to Player 5 (Yellow)
Then - Actions
Unit - Remove Race Chooser 0024 <gen> from the game
Visibility - Create an initially Disabled visibility modifier for Player 5 (Yellow) emitting Visibility across Disabled Visibility 2 <gen>
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Selling unit)) Equal to Player 6 (Orange)
Then - Actions
Unit - Remove Race Chooser 0027 <gen> from the game
Visibility - Create an initially Disabled visibility modifier for Player 6 (Orange) emitting Visibility across Disabled Visibility 2 <gen>
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Selling unit)) Equal to Player 7 (Green)
Then - Actions
Unit - Remove Race Chooser 0023 <gen> from the game
Visibility - Create an initially Disabled visibility modifier for Player 7 (Green) emitting Visibility across Disabled Visibility 2 <gen>
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Selling unit)) Equal to Player 8 (Pink)
Then - Actions
Unit - Remove Race Chooser 0022 <gen> from the game
Visibility - Create an initially Disabled visibility modifier for Player 8 (Pink) emitting Visibility across Disabled Visibility 2 <gen>
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Selling unit)) Equal to Player 9 (Gray)
Then - Actions
Unit - Remove Race Chooser 0030 <gen> from the game
Visibility - Create an initially Disabled visibility modifier for Player 9 (Gray) emitting Visibility across Disabled Visibility 2 <gen>
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Selling unit)) Equal to Player 10 (Light Blue)
Then - Actions
Unit - Remove Race Chooser 0028 <gen> from the game
Visibility - Create an initially Disabled visibility modifier for Player 10 (Light Blue) emitting Visibility across Disabled Visibility 2 <gen>
Else - Actions
Do nothing
I am a little surprised others didn't notice yet, but you want to use owner of unit manepulating item, not owner of triigering unit, cause it is a item triggering it, not a unit.
Orc Race
Events
Unit - A unit Acquires an item
Conditions
(Item-type of (Item being manipulated)) Equal to Orc Race/Blood Orc Race/Demon Race
Actions
Item - Remove (Item being manipulated)
Unit - Create 1 CreepCreator (Orc level 1) for (Owner of (Item being manipulated)) at ((Owner of (Item being manipulated)) start location) facing Default building facing (270.0) degrees
Orc Race
Events
Unit - A unit enters Disabled Visibility 2 <gen>
Conditions
(Unit-type of (Entering unit)) Equal to Orc Race
Actions
Unit - Remove (Entering unit) from the game
Unit - Create 1 CreepCreator (Orc level 1) for (Owner of (Entering unit)) at ((Owner of (Entering unit)) start location) facing Default building facing (270.0) degrees