so im making a map (ur always seeing me say that

) and i want it to be so i make like a (zigzaged

) line of dark archorns so when the ling touches them it kills them

!! but i dont want to make it a (squared

uo line like in space bound [no offence whoever made that map]) i just want it to be 1 location not 26...how?
u make a condition centering the location to the ling
theres an action called "Move Location" which centers that location on the ling at a specific location.
so here it goes
QUOTE
Players:
Player with ling
Condition:
Always?
When the ling is at someplace?
Action:
Center location labelled "zergling here" on "unit? zergling?" at "anywhere"
QUOTE
Players:
Whoever owns the zergling
Condition:
Player X (x is the computer) commands atleast 1 "Dark Archon" to location "zergling here".
Action:
Kill all "zergling" for Player Y (y is the player who owns the zergling)
Conditions:
-Your Conditions
Actions:
- Move location to unit
- Preserve Trigger
Conditions:
-Comp brings archon to that location
Actions:
- Your actions
QUOTE(BeeR_KeG[eM)
,Aug 27 2004, 07:45 PM] Conditions:
-Your Conditions
Actions:
- Move location to unit
- Preserve Trigger
Conditions:
-Comp brings archon to that location
Actions:
- Your actions
im confused...this will just be 1 location for the killling but why the center view?
im very confused now srry
there is no center view...
its MOVE LOCATION!
you move the location to somewhere
so you move the location to center on the zergling/whatever unit
ok ok move location... but whats that gonna do?
heres an example
best with fast triggers of course
umm ya still dont get it but thxs
The action move location is something like this(It's not exact since I can't install SC)
MoveLocation(P1, Zergling);
It will make the location stay always on top of the zergling.
So it's pretty much more efficient to do thr bring unit the new way and not the traditional way.
It also uses only 1 location and not many.
QUOTE(Wraith @ Aug 27 2004, 08:06 PM)
umm ya still dont get it but thxs
It simple...
You make a trigger that ALWAYS moves a location onto the zergling. The reason you do this is so that you can know where the zergling is AND what is near his body.
So keep in mind that the location is always on top of the zergling right? So now, when the zergling BRINGS an Archon to the location, you can set off another trigger to kill the zergling.
Let me explain the center location trigger.
Center location moves a location onto a specified unit at a specified location where the unit is at the center of the location. When the specified unit is not there, it will move to the center of the specified location.
Ex.
Center the location X on zergling at anywhere
This will center the location labelled X onto the first zergling (from bottom left upward then all the way right) at anywhere.
i think i get it
when the location follows the ling to the archorns the trigger will activate and kill the ling?
Exactly.
The location is moving and when the location moves into an archon it activates.
wow how eazy....thxs
