KvickaN
TH.net Regular
- Reaction score
- 24
Hey all
So... My problem is finding a good solution to my hero picking trigger.
The idea for now looks like this:
Heres a screenshot to bring you the picture
Regards, KvickaN.
So... My problem is finding a good solution to my hero picking trigger.
The idea for now looks like this:
Code:
Red Pick 1
Events
Unit - A unit enters Pick Hero 1 <gen>
Conditions
(Owner of (Entering unit)) Equal to Player 1 (Red)
Actions
Unit - Create 1 Elemental Mage for Player 1 (Red) at (Random point in Team One <gen>) facing Default building facing degrees
Wait 0.02 seconds
Unit - Remove (Entering unit) from the game
Code:
Blue Pick 1
Events
Unit - A unit enters Pick Hero 1 <gen>
Conditions
(Owner of (Entering unit)) Equal to Player 2 (Blue)
Actions
Unit - Create 1 Elemental Mage for Player 2 (Blue) at (Random point in Team One <gen>) facing Default building facing degrees
Wait 0.02 seconds
Unit - Remove (Entering unit) from the game
Code:
Teal Pick 1
Events
Unit - A unit enters Pick Hero 1 <gen>
Conditions
(Owner of (Entering unit)) Equal to Player 3 (Teal)
Actions
Unit - Create 1 Elemental Mage for Player 3 (Teal) at (Random point in Team Two <gen>) facing Default building facing degrees
Wait 0.02 seconds
Unit - Remove (Entering unit) from the game
Code:
Purple Pick 1
Events
Unit - A unit enters Pick Hero 1 <gen>
Conditions
(Owner of (Entering unit)) Equal to Player 4 (Purple)
Actions
Unit - Create 1 Elemental Mage for Player 4 (Purple) at (Random point in Team Two <gen>) facing Default building facing degrees
Wait 0.02 seconds
Unit - Remove (Entering unit) from the game
Code:
Yellow Pick 1
Events
Unit - A unit enters Pick Hero 1 <gen>
Conditions
(Owner of (Entering unit)) Equal to Player 5 (Yellow)
Actions
Unit - Create 1 Elemental Mage for Player 5 (Yellow) at (Random point in Team Three <gen>) facing Default building facing degrees
Wait 0.02 seconds
Unit - Remove (Entering unit) from the game
Code:
Orange Pick 1
Events
Unit - A unit enters Pick Hero 1 <gen>
Conditions
(Owner of (Entering unit)) Equal to Player 6 (Orange)
Actions
Unit - Create 1 Elemental Mage for Player 6 (Orange) at (Random point in Team Three <gen>) facing Default building facing degrees
Wait 0.02 seconds
Unit - Remove (Entering unit) from the game
Code:
Green Pick 1
Events
Unit - A unit enters Pick Hero 1 <gen>
Conditions
(Owner of (Entering unit)) Equal to Player 7 (Green)
Actions
Unit - Create 1 Elemental Mage for Player 7 (Green) at (Random point in Team Four <gen>) facing Default building facing degrees
Wait 0.02 seconds
Unit - Remove (Entering unit) from the game
Code:
Pink Pick 1
Events
Unit - A unit enters Pick Hero 1 <gen>
Conditions
(Owner of (Entering unit)) Equal to Player 8 (Pink)
Actions
Unit - Create 1 Elemental Mage for Player 8 (Pink) at (Random point in Team Four <gen>) facing Default building facing degrees
Wait 0.02 seconds
Unit - Remove (Entering unit) from the game
Heres a screenshot to bring you the picture
Regards, KvickaN.