HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Sorry to ask again..plz help?

03-19-2004, 06:09 AM#1
nkknight
sorry to post this again... but i need an answer to finish my map><

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))

somehow when a unit is attack, the unit that is under the same player of the attacked unit will pause, but the alies of the attacked units wont pause. can someone fix it for me plzzzzzzzz?
03-19-2004, 11:25 AM#2
johnfn
Are you sure everyone is allies? check the forces dialog, because this trigger looks pretty sound.

Also try using a lan -- if you have one -- or b.net -- if you dont -- to connect up and then see if their units pause when you are playing for someone else.
03-19-2004, 11:29 AM#3
1Z1KaosAngel1Z1
Aight I Belive You Can Do It Like This,

Event:
Unit Is attacked
Condition:
Attacked is sleeping
Action:
Pick every player in allies of attacked unit and do add picked player to playergroup Z (or whatever),
Remove attacked unit from Z
Pick every unit in Z and do pause unit