Mass Attack

ChrisH36

Guy with Most Posts on Quiet Board.
Joined
May 20, 2003
Messages
15,042
Reaction score
4
Location
Temple Prime, Sarajevo
Isn't there a trigger that can issue commands to all units in a region to another region?

But it doesn't allow legions, just make a unit group = to the units in the region and move them all at once to region 2.
 

Octopor

your whole family is made of meat
Joined
Nov 28, 2003
Messages
2,043
Reaction score
2
Actions
Unit Group - Order (Units in (region)) to Attack-Move To (Center of (region2))
 

Shaggy.2Dope

Agna Deus, Qui tollis peccata uni
Joined
Jan 2, 2006
Messages
101
Reaction score
0
Location
Colorado
Website
www.myspace.com
Actions
Unit Group - Order (Units in (region)) to Attack-Move To (Center of (region2))
but, won't that control ALL units in that region
cuz i only want the units owned by the 'triggering player'

well i have it set up so that all units by the "triggering player" mass to one area but i dont know how to make it so that a select type of unit don't attack the region
like heroes, how do you make it so they are not included in the unit group?
 

Octopor

your whole family is made of meat
Joined
Nov 28, 2003
Messages
2,043
Reaction score
2
Events
Conditions
Actions
Unit Group - Pick every unit in (Units in (region) matching ((((Picked unit) is A Hero) Equal to False) and ((Owner of (Picked unit)) Equal to (Triggering player)))) and do (Actions)
Loop - Actions
Unit - Order (Picked unit) to Attack-Move To (Center of (region2))

Just add actions that require specific conditions to be met.
 

ChrisH36

Guy with Most Posts on Quiet Board.
Joined
May 20, 2003
Messages
15,042
Reaction score
4
Location
Temple Prime, Sarajevo
OR you could specify the unit group, and form it from units that aren't heroes.
 

ChrisH36

Guy with Most Posts on Quiet Board.
Joined
May 20, 2003
Messages
15,042
Reaction score
4
Location
Temple Prime, Sarajevo
Well, first of all, you need an array = to the number of players you have. Which holds integers. When you kill something, check the player type, then add 1 to the killarray[number of that player].

As for the leaderboard. I believe you can then use the killarray[number of that player] to display the kills. I am still experimenting with it however.
 

CelestialBadger

Retired Staff
Joined
Feb 18, 2003
Messages
6,792
Reaction score
18
I think Mezzanine is the only album I've heard. It's pretty good though. I put it on sometimes when I'm in the mood to just chill.
 

ChrisH36

Guy with Most Posts on Quiet Board.
Joined
May 20, 2003
Messages
15,042
Reaction score
4
Location
Temple Prime, Sarajevo
What are you talking about?
 

NewPosts

New threads

Top