- Joined
- Jul 18, 2004
- Messages
- 12
I have three problems with this one. With this trigger it is supposed to limit you to one hero. You chose your hero by clicking it with mouse. My problems are that one you can just keep clicking and getting more heroes. Second the trigger doesn't start working until you select one of the given hero choices first. After you have done that it works the way it should but with problem listed above. Also if the very first thing you chose is not even a hero it still copies it the first time.
Here is the Trigger its shorter than my last post's trigger =).
Hero Selection
Events
Player - Player 1 (Red) Selects a unit
Player - Player 2 (Blue) Selects a unit
Player - Player 3 (Teal) Selects a unit
Player - Player 4 (Purple) Selects a unit
Player - Player 5 (Yellow) Selects a unit
Player - Player 6 (Orange) Selects a unit
Player - Player 7 (Green) Selects a unit
Player - Player 8 (Pink) Selects a unit
Conditions
Or - Any (Conditions) are true
Conditions
(Agnate 0048 <gen> is selected by (Triggering player)) Equal to True
(Anub'arak 0056 <gen> is selected by (Triggering player)) Equal to True
(Bor Stonebreaker 0052 <gen> is selected by (Triggering player)) Equal to True
(Chainer 0002 <gen> is selected by (Triggering player)) Equal to True
(Goreath'ier 0057 <gen> is selected by (Triggering player)) Equal to True
(Greven 0058 <gen> is selected by (Triggering player)) Equal to True
(Laquatus 0050 <gen> is selected by (Triggering player)) Equal to True
(Mageta 0053 <gen> is selected by (Triggering player)) Equal to True
(Onean 0051 <gen> is selected by (Triggering player)) Equal to True
(Serra 0054 <gen> is selected by (Triggering player)) Equal to True
(Treva 0055 <gen> is selected by (Triggering player)) Equal to True
(Yawgmoth 0059 <gen> is selected by (Triggering player)) Equal to True
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
PlayerChosenHero[(Player number of (Triggering player))] Equal to False
Then - Actions
Unit - Create 1 (Unit-type of (Triggering unit)) for (Triggering player) at (Center of StartRegions[(Player number of (Triggering player))]) facing (Center of (Playable map area))
Set PlayerChosenHero[(Player number of (Triggering player))] = True
Else - Actions
Do nothing
Camera - Pan camera for (Triggering player) to ((Triggering player) start location) over 0.00 seconds
Here is the Trigger its shorter than my last post's trigger =).
Hero Selection
Events
Player - Player 1 (Red) Selects a unit
Player - Player 2 (Blue) Selects a unit
Player - Player 3 (Teal) Selects a unit
Player - Player 4 (Purple) Selects a unit
Player - Player 5 (Yellow) Selects a unit
Player - Player 6 (Orange) Selects a unit
Player - Player 7 (Green) Selects a unit
Player - Player 8 (Pink) Selects a unit
Conditions
Or - Any (Conditions) are true
Conditions
(Agnate 0048 <gen> is selected by (Triggering player)) Equal to True
(Anub'arak 0056 <gen> is selected by (Triggering player)) Equal to True
(Bor Stonebreaker 0052 <gen> is selected by (Triggering player)) Equal to True
(Chainer 0002 <gen> is selected by (Triggering player)) Equal to True
(Goreath'ier 0057 <gen> is selected by (Triggering player)) Equal to True
(Greven 0058 <gen> is selected by (Triggering player)) Equal to True
(Laquatus 0050 <gen> is selected by (Triggering player)) Equal to True
(Mageta 0053 <gen> is selected by (Triggering player)) Equal to True
(Onean 0051 <gen> is selected by (Triggering player)) Equal to True
(Serra 0054 <gen> is selected by (Triggering player)) Equal to True
(Treva 0055 <gen> is selected by (Triggering player)) Equal to True
(Yawgmoth 0059 <gen> is selected by (Triggering player)) Equal to True
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
PlayerChosenHero[(Player number of (Triggering player))] Equal to False
Then - Actions
Unit - Create 1 (Unit-type of (Triggering unit)) for (Triggering player) at (Center of StartRegions[(Player number of (Triggering player))]) facing (Center of (Playable map area))
Set PlayerChosenHero[(Player number of (Triggering player))] = True
Else - Actions
Do nothing
Camera - Pan camera for (Triggering player) to ((Triggering player) start location) over 0.00 seconds