Staredit Network

Staredit Network -> UMS Assistance -> Grid SYstem
Report, edit, etc...Posted by r[s]t on 2006-03-13 at 17:23:08
Have a 20 x 20 grid of zergling burrowed owned by p10.

When a player walks over a grid, the zerglign is automatically given to p9.

When the player walks off, the zergling is given back to p10.

How do i do this?
Report, edit, etc...Posted by HeRtZ on 2006-03-13 at 17:34:49
Bring ( Current player brings exactly 0 men to 20x20 location)
bring ( player 9 brings atleast 1 zergling to 20x20 location);

Preserve trigger();
comment("give");
giveunits owned by p9 to p10 at 20x20 location.


Bring ( Current player brings atleast 1 men to 20x20 location)
bring ( player 10 brings atleast 1 zergling to 20x20 location);

reserve trigger();
comment("give");
giveunits owned by p10 to p9 at 20x20 location.
Report, edit, etc...Posted by EcHo on 2006-03-13 at 18:18:33
Download p 9-12 triggers on the download database if ur using xtra editor
Report, edit, etc...Posted by r[s]t on 2006-03-13 at 19:15:37
No no no....

Tehre are 400 zerglings okay.

When a player walks over one of them, the one UNDERNEATH is given to player 9. All the others remain in possession of p10

My trigger is always giving all the lings to player 10.
and
another one that has a locatation that centers on the player and always give the zergling in that locatation to player 9.

But this would casue the ling to switch back and forth control.
Report, edit, etc...Posted by HeRtZ on 2006-03-13 at 19:18:00
Then have something like this!

Command ( Current Player commands atleast 1 "whichever unit")

ACTIONS:

preservetrigger
comment("MoveLocation1thingydatomgim1337");
centerlocation(20x20. on "whicheverunit" to anywhere);

and add my triggers that i posted up there!
Report, edit, etc...Posted by Demaris on 2006-03-13 at 19:20:36


Trigger
Description:
Give system
Players:
¤ Player 1
Conditions:
¤ Player 1 brings at least 1 marine to "Moving location"
Actions:
¤ Give all Zerg Zergling owned by p10 to p9
¤ Preserve Trigger



Trigger
Description:
Give system2
Players:
¤ Player 1
Conditions:
¤ Player 1 brings at most 0 marine to "Location"
Actions:
¤ Give all Zerg Zergling owned by player 9 to player 10 at "location"
¤ Center Location "Location" on marine at "Anywhere"
¤ Preserve Trigger


There ya go. You don't want any constant location centering or giving triggers. These are all you need.
Report, edit, etc...Posted by HeRtZ on 2006-03-13 at 19:24:12
If he doesn't have a constant location then how will the "moving" location move?
Report, edit, etc...Posted by Demaris on 2006-03-13 at 19:24:55

The second trigger. If he brings no marines to the location the location centers on the marine.
Report, edit, etc...Posted by (U)Bolt_Head on 2006-03-13 at 21:38:02
QUOTE(r[s)
t,Mar 13 2006, 06:15 PM]No no no....

Tehre are 400 zerglings okay.

When a player walks over one of them, the one UNDERNEATH is given to player 9.  All the others remain in possession of p10

My trigger is always giving all the lings to player 10.
and
another one that has a locatation that centers on the player and always give the zergling in that locatation to player 9.

But this would casue the ling to switch back and forth control.
[right][snapback]445028[/snapback][/right]


Thats alright if the trigger that gives the ling to player 9 directly follows the other and nither of them have any waits.

To all the other triggers that ling would appear to be owned by player 9 the whole time. Visually it would appear the same way except it would be consantly deselecting itself (i doubt you even have them visable though)

Also lag from the changing units would be very minimal, almost non existant.
Report, edit, etc...Posted by HeRtZ on 2006-03-13 at 21:52:50
Like omg the bolt head has spoken!
Report, edit, etc...Posted by Staredit.Net Essence on 2006-03-13 at 22:46:11
He still has more participation than me sad.gif. He does still post from time to time.
Report, edit, etc...Posted by r[s]t on 2006-03-13 at 23:15:54
Okay, i think demaris's idea will work. I'll try it later.
Next Page (1)