Lil help =]

Trigger Noob =]

Member!
Joined
Dec 4, 2006
Messages
36
Reaction score
0
Location
Behind you O_O
Trying to make a tiggy map LOL :lol2:lol2:lol2:lol2

I cant seem to make a player swap forces/team

Its like a gang up tiggy. Some people tag others and the tagged people help tag other people. If you get me.

Two Forces; Force 1 are the runners and Force 2 are the taggers.

So far I have:

E: Unit - A unit Is attacked
A: If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Owner of (Attacked unit)) Equal to Player 2 (Blue)
Then - Actions
Unit - Replace (Attacked unit) with a Footman using The new unit's max life and mana
Player Group - Pick every player in (All enemies of Player 7 (Green)) and do (Player - Make Player 2 (Blue) treat (Picked player) as an Enemy)
Player Group - Make (All allies of Player 7 (Green)) treat (All enemies of (Picked player)) as an Enemy
Wait 2.00 seconds
Player Group - Pick every player in (All allies of Player 7 (Green)) and do (Player - Make Player 2 (Blue) treat (Picked player) as an Ally)
Else - Actions


Im just doing it one player at a time cos i cant do it as a whole group tihng.
 

ChrisH36

Guy with Most Posts on Quiet Board.
Joined
May 20, 2003
Messages
15,042
Reaction score
4
Location
Temple Prime, Sarajevo
Did you try using Unit Groups? I think with those, you can turn an entire collection of units over to one player in one action.
 

Trigger Noob =]

Member!
Joined
Dec 4, 2006
Messages
36
Reaction score
0
Location
Behind you O_O
Ok stuff that map its too confusing and weird. ^^

======================

Im making a map where 2 teams are fighting in an all out war. Red has 3 bases; NE human and Orc. Blue has 2 bases Scourge and Burning legion. Each base has it own different spawned units.

BLUE R E D

Scourge NE
Region 1 Middle region2 Human
Legion Orc


I need triggers to order half of the scourge's units to go to region 1; middle;region 2 and NE base and the other half to go to the human base

And same with the legion's units ecept half to human and other half to orc

And etc with other races

Tell me if its confusing =]

- Trigger Noob =]
 

x42bn6

Retired Staff
Joined
Nov 11, 2002
Messages
15,150
Reaction score
2
Location
London, United Kingdom
How do you want units selected? If you want it purely up to the "randomness" they are generated, you can use a Pick all Units in Region action and then depending on a variable counter, assign them to a team. Then set counter=(counter+1) mod n, where n is the number of groups you have. I don't have the World Editor here so apologies if this is confusing. But so is your question.*
 

ChrisH36

Guy with Most Posts on Quiet Board.
Joined
May 20, 2003
Messages
15,042
Reaction score
4
Location
Temple Prime, Sarajevo
That is basically using Unit Group.
 

NewPosts

New threads

Top