KnightRanger
New Member
- Reaction score
- 1
I have an ar or ap hero picking trigger, ar is everyone gets a random hero, ap people can pick. The ar trigger isnt working. It takes the gold but no hero:
Heres the triggers.
Pick
Events
Time - Elapsed game time is 1.00 seconds
Conditions
Actions
Dialog - Clear MyDialog
Dialog - Change the title of MyDialog to AR or AP?
Dialog - Create a dialog button for MyDialog labelled AR
Set DialogButton[1] = (Last created dialog Button)
Dialog - Create a dialog button for MyDialog labelled AP
Set DialogButton[2] = (Last created dialog Button)
Dialog - Show MyDialog for Player 10 (Light Blue)
AR Button
Events
Dialog - A dialog button is clicked for MyDialog
Conditions
(Clicked dialog button) Equal to DialogButton[1]
Actions
Unit - Create 1 Random Hero for Player 1 (Red) at (Center of (Playable map area)) facing Default building facing degrees
Unit - Create 1 Random Hero for Player 2 (Blue) at (Center of (Playable map area)) facing Default building facing degrees
Unit - Create 1 Random Hero for Player 3 (Teal) at (Center of (Playable map area)) facing Default building facing degrees
Unit - Create 1 Random Hero for Player 4 (Purple) at (Center of (Playable map area)) facing Default building facing degrees
Unit - Create 1 Random Hero for Player 5 (Yellow) at (Center of (Playable map area)) facing Default building facing degrees
Unit - Create 1 Random Hero for Player 6 (Orange) at (Center of (Playable map area)) facing Default building facing degrees
Unit - Create 1 Random Hero for Player 7 (Green) at (Center of (Playable map area)) facing Default building facing degrees
Unit - Create 1 Random Hero for Player 8 (Pink) at (Center of (Playable map area)) facing Default building facing degrees
Unit - Create 1 Random Hero for Player 9 (Gray) at (Center of (Playable map area)) facing Default building facing degrees
Unit - Create 1 Random Hero for Player 10 (Light Blue) at (Center of (Playable map area)) facing Default building facing degrees
Unit - Create 1 Random Hero for Player 11 (Dark Green) at (Center of (Playable map area)) facing Default building facing degrees
Unit - Create 1 Random Hero for Player 12 (Brown) at (Center of (Playable map area)) facing Default building facing degrees
Player - Add -1750 to Player 1 (Red) Current gold
Player - Add -1750 to Player 2 (Blue) Current gold
Player - Add -1750 to Player 3 (Teal) Current gold
Player - Add -1750 to Player 4 (Purple) Current gold
Player - Add -1750 to Player 5 (Yellow) Current gold
Player - Add -1750 to Player 6 (Orange) Current gold
Player - Add -1750 to Player 7 (Green) Current gold
Player - Add -1750 to Player 8 (Pink) Current gold
Player - Add -1750 to Player 9 (Gray) Current gold
Player - Add -1750 to Player 10 (Light Blue) Current gold
Player - Add -1750 to Player 11 (Dark Green) Current gold
Player - Add -1750 to Player 12 (Brown) Current gold
Help
ps: i cant get them to look like trigger in world edit. I typed [ wc3 ] after trigger but didnt work anyway i tried it
Heres the triggers.
Pick
Events
Time - Elapsed game time is 1.00 seconds
Conditions
Actions
Dialog - Clear MyDialog
Dialog - Change the title of MyDialog to AR or AP?
Dialog - Create a dialog button for MyDialog labelled AR
Set DialogButton[1] = (Last created dialog Button)
Dialog - Create a dialog button for MyDialog labelled AP
Set DialogButton[2] = (Last created dialog Button)
Dialog - Show MyDialog for Player 10 (Light Blue)
AR Button
Events
Dialog - A dialog button is clicked for MyDialog
Conditions
(Clicked dialog button) Equal to DialogButton[1]
Actions
Unit - Create 1 Random Hero for Player 1 (Red) at (Center of (Playable map area)) facing Default building facing degrees
Unit - Create 1 Random Hero for Player 2 (Blue) at (Center of (Playable map area)) facing Default building facing degrees
Unit - Create 1 Random Hero for Player 3 (Teal) at (Center of (Playable map area)) facing Default building facing degrees
Unit - Create 1 Random Hero for Player 4 (Purple) at (Center of (Playable map area)) facing Default building facing degrees
Unit - Create 1 Random Hero for Player 5 (Yellow) at (Center of (Playable map area)) facing Default building facing degrees
Unit - Create 1 Random Hero for Player 6 (Orange) at (Center of (Playable map area)) facing Default building facing degrees
Unit - Create 1 Random Hero for Player 7 (Green) at (Center of (Playable map area)) facing Default building facing degrees
Unit - Create 1 Random Hero for Player 8 (Pink) at (Center of (Playable map area)) facing Default building facing degrees
Unit - Create 1 Random Hero for Player 9 (Gray) at (Center of (Playable map area)) facing Default building facing degrees
Unit - Create 1 Random Hero for Player 10 (Light Blue) at (Center of (Playable map area)) facing Default building facing degrees
Unit - Create 1 Random Hero for Player 11 (Dark Green) at (Center of (Playable map area)) facing Default building facing degrees
Unit - Create 1 Random Hero for Player 12 (Brown) at (Center of (Playable map area)) facing Default building facing degrees
Player - Add -1750 to Player 1 (Red) Current gold
Player - Add -1750 to Player 2 (Blue) Current gold
Player - Add -1750 to Player 3 (Teal) Current gold
Player - Add -1750 to Player 4 (Purple) Current gold
Player - Add -1750 to Player 5 (Yellow) Current gold
Player - Add -1750 to Player 6 (Orange) Current gold
Player - Add -1750 to Player 7 (Green) Current gold
Player - Add -1750 to Player 8 (Pink) Current gold
Player - Add -1750 to Player 9 (Gray) Current gold
Player - Add -1750 to Player 10 (Light Blue) Current gold
Player - Add -1750 to Player 11 (Dark Green) Current gold
Player - Add -1750 to Player 12 (Brown) Current gold
Help
ps: i cant get them to look like trigger in world edit. I typed [ wc3 ] after trigger but didnt work anyway i tried it