- Joined
- Jan 5, 2008
- Messages
- 145
alright basicly this trigger is activiated when a unit town hall hp comes below 100 . you all the attacking unit blah blah blah.
Heres the problem
Player Group: Pick Every Unit In All Players Matching Contions Owner Of Picked Units Color Not Equal TO The Owner Of The Attacking Players Color
Loop Actions:
If All Condions Are True Than: Owner Of Owner Of Attacked Unit Treat Pick Player As Enemy
Else Action:
Do Nothing
What did i do wrong? Seems to me everything is in working order but i may be missing something. Can anyone help?
EDIT
And for more explaining. it is suppose to be a check to unally all players not equal to that players new color. to stop people who have changed from their orginal color to make sure they arent allyed to anyone that was on their old color. kinda like a empires trigger. there is also a thumbnail of the trigger to
Heres the problem
Player Group: Pick Every Unit In All Players Matching Contions Owner Of Picked Units Color Not Equal TO The Owner Of The Attacking Players Color
Loop Actions:
If All Condions Are True Than: Owner Of Owner Of Attacked Unit Treat Pick Player As Enemy
Else Action:
Do Nothing
What did i do wrong? Seems to me everything is in working order but i may be missing something. Can anyone help?
EDIT
-
Change Color Tribe 1
-
Events
- Unit - A unit Is attacked
-
Conditions
- (Unit-type of (Attacked unit)) Equal to Fishermen Tribe Town
- (Owner of (Attacking unit)) Not equal to (Owner of (Attacked unit))
- (Life of (Attacked unit)) Less than or equal to 100.00
-
Actions
- Game - Display to (All players) the text: ((Name of (Owner of (Attacked unit))) + ( Has Just Been Conquered By + (Name of (Owner of (Attacking unit)))))
- Player - Make (Owner of (Attacking unit)) treat (Owner of (Attacked unit)) as an Ally with shared vision
- Player - Make (Owner of (Attacked unit)) treat (Owner of (Attacking unit)) as an Ally with shared vision
- Player Group - Make (All allies of (Owner of (Attacking unit))) treat (Player group((Owner of (Attacked unit)))) as an Ally with shared vision
- Player Group - Make (Player group((Owner of (Attacked unit)))) treat (All allies of (Owner of (Attacking unit))) as an Ally with shared vision
- -------- PROBLEM --------
-
Player Group - Pick every player in (All players matching ((Color of (Picked player)) Not equal to (Color of (Owner of (Attacking unit))))) and do (Actions)
-
Loop - Actions
- Player - Make (Owner of (Attacked unit)) treat (Picked player) as an Enemy
-
Loop - Actions
- -------- PROBLEM END --------
- Player - Change color of (Owner of (Attacked unit)) to (Color of (Owner of (Attacking unit))), Changing color of existing units
- Unit - Set life of (Attacked unit) to (Max life of (Attacked unit))
- Player - Add 1000 to (Owner of (Attacked unit)) Current lumber
- Player - Add 250 to (Owner of (Attacked unit)) Current gold
-
Events
And for more explaining. it is suppose to be a check to unally all players not equal to that players new color. to stop people who have changed from their orginal color to make sure they arent allyed to anyone that was on their old color. kinda like a empires trigger. there is also a thumbnail of the trigger to
Attachments
Last edited: