HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

my trigger has a problem again...

03-19-2004, 04:03 AM#1
nkknight
event - a unit is attacked
condition - attacked unit = sleeping
action -player group pick every player of the allies of attacked unit by the type footman and do unit group pick every unit own by picked player of the type footman and do pause picked unit
- wait 2 second
-unit group pick every unit own by picked player of the type footmen and do unpause picked unit

somehow the footman of the owner of the attacked unit paused but the footman owned by the allies of the attacked unit did not pause. acn some one help me fix it plz?
03-19-2004, 04:11 AM#2
ThyFlame
Go to the trigger > right click on it > copy in text > paste it instead of what you wrote.

I want to see the exact trigger.
03-19-2004, 05:40 AM#3
nkknight
pause
Events
Unit - A unit Is attacked
Conditions
((Attacked unit) is sleeping) Equal to True
Actions
Player Group - Pick every player in (All allies of (Owner of (Attacked unit))) and do (Unit Group - Pick every unit in (Units owned by (Picked player) of type Infrantry (I)) and do (Unit - Pause (Picked unit)))
Wait 2.00 seconds
Unit Group - Pick every unit in (Units owned by (Picked player) of type Infrantry (I)) and do (Unit - Unpause (Picked unit))