- Joined
- May 11, 2012
- Messages
- 2,103
I need help about something. I putted 3 triggers here. Each trigger selects and transports the Hero. Now what i need: Let's say Player Red selects Ghost Lord, and it's now hero for Player Red. Now how can I make for Triggers: Lightning Destroyer and Death Bringer not to work for Player Red if he tries to select them, and he already has a hero?
I want those 2 triggers to be disabled for Player Red because he has already selected his hero. Answer fast plz, I have much more to do , my map is kinda hard to do...
I hope you guys will understand what I want
I want those 2 triggers to be disabled for Player Red because he has already selected his hero. Answer fast plz, I have much more to do , my map is kinda hard to do...
I hope you guys will understand what I want
-
Ghost Lord
-
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
- (Triggering unit) Equal to Ghost Lord 0069 <gen>
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- HeroBoolean[1] Equal to True
-
Then - Actions
- Set ReturnFromMission = (Center of Return from Mission <gen>)
- Unit - Create 1 (Unit-type of (Triggering unit)) for (Triggering player) at ReturnFromMission facing 360.00 degrees
- Item - Create |cFFFFFF00Ankh of Reincarnation at (Center of (Playable map area))
- Hero - Give (Last created item) to (Last created unit)
- Item - Create |cFFFFFF00Potion of Healing at (Center of (Playable map area))
- Hero - Give (Last created item) to (Last created unit)
- Item - Create |cFFFFFF00Potion of Mana at (Center of (Playable map area))
- Hero - Give (Last created item) to (Last created unit)
- Special Effect - Create a special effect attached to the overhead of Ghost Lord 0069 <gen> using Abilities\Spells\NightElf\Blink\BlinkCaster.mdl
- Unit - Remove Ghost Lord 0069 <gen> from the game
- Custom script: call RemoveLocation(udg_ReturnFromMission)
-
Else - Actions
- Set HeroBoolean[1] = True
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events
-
Lightning Destroyer
-
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
- (Triggering unit) Equal to Lightning Destroyer 0070 <gen>
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- HeroBoolean[2] Equal to True
-
Then - Actions
- Set ReturnFromMission = (Center of Return from Mission <gen>)
- Unit - Create 1 (Unit-type of (Triggering unit)) for (Triggering player) at ReturnFromMission facing 360.00 degrees
- Item - Create |cFFFFFF00Ankh of Reincarnation at (Center of (Playable map area))
- Hero - Give (Last created item) to (Last created unit)
- Item - Create |cFFFFFF00Potion of Healing at (Center of (Playable map area))
- Hero - Give (Last created item) to (Last created unit)
- Item - Create |cFFFFFF00Potion of Mana at (Center of (Playable map area))
- Hero - Give (Last created item) to (Last created unit)
- Special Effect - Create a special effect attached to the overhead of Lightning Destroyer 0070 <gen> using Abilities\Spells\NightElf\Blink\BlinkCaster.mdl
- Unit - Remove Lightning Destroyer 0070 <gen> from the game
- Custom script: call RemoveLocation(udg_ReturnFromMission)
-
Else - Actions
- Set HeroBoolean[2] = True
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events
-
Death Bringer
-
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
- (Triggering unit) Equal to Death Bringer 0071 <gen>
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- HeroBoolean[3] Equal to True
-
Then - Actions
- Set ReturnFromMission = (Center of Return from Mission <gen>)
- Unit - Create 1 (Unit-type of (Triggering unit)) for (Triggering player) at ReturnFromMission facing 360.00 degrees
- Item - Create |cFFFFFF00Ankh of Reincarnation at (Center of (Playable map area))
- Hero - Give (Last created item) to (Last created unit)
- Item - Create |cFFFFFF00Potion of Healing at (Center of (Playable map area))
- Hero - Give (Last created item) to (Last created unit)
- Item - Create |cFFFFFF00Potion of Mana at (Center of (Playable map area))
- Hero - Give (Last created item) to (Last created unit)
- Special Effect - Create a special effect attached to the overhead of Death Bringer 0071 <gen> using Abilities\Spells\NightElf\Blink\BlinkCaster.mdl
- Unit - Remove Death Bringer 0071 <gen> from the game
- Custom script: call RemoveLocation(udg_ReturnFromMission)
-
Else - Actions
- Set HeroBoolean[3] = True
-
If - Conditions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
Events