Staredit Network

Staredit Network -> UMS Assistance -> Moving Bar
Report, edit, etc...Posted by Staredit.Net Essence on 2006-03-01 at 01:38:37
I need to make some sort of moving bar.

My map is 128x128.
I have a 128x2 area of the null that can have units on it.
I have 2 128x1 areas of terrain that cant be transveresed by ground units surrounding the 128x2 area.
I have 64 ultralisks in this area in 2x2 spaces so that they arent touching.
This basically looks like this
_________________________
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_________________________

The ultralisks are owned by player 8 which has a red color.
_________________________
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_________________________

I want there to be a blue bar sliding back and forth.
So it would look like this something like this. The yellow bar would be going back and forth.
_________________________
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_________________________

_________________________
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_________________________

_________________________
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_________________________

The yellow would actually be units owned by p12 and would be lightish blue.
I can get it to constantly go this way ----> but i cant get it to go back this way <----
I want to do this without having to place 64 seperate locations. I do this way ---> with 2 locations and 2 triggers.
Report, edit, etc...Posted by whiteninja2 on 2006-03-01 at 01:43:00
to go back you could use another extra location of 4x4 - 5x5

and center that on the first ultra on yellow line and then give all ultras on that location to owner of yellow ultras

so the ultra left of the yellow one get to yellow and the location centered again.


PS : sorry if bad gramma^^ lol just awake
Report, edit, etc...Posted by Noober on 2006-03-01 at 15:14:05
You center the location on an obs or something and have the obs patrol. Give all the ultras at the location to p12 and the ones not at the location to whoever.
Report, edit, etc...Posted by fritfrat(U) on 2006-03-01 at 17:46:32
I have an idea! smile.gif

Alright, so lets say you want 9 ultralisks to be owned by yellow at the same time. We will make a 18x18 location that will be able to cover all of them. Now, here for the trigger:

Going Left
Conditions: whatever.
Actions!

Give 3 Ultralisks owned by (yellow) to (red).
Center location (18x18) on ultralisk owned by (yellow).
Give all ultralisks to red.
Give all ultralisks at (18x18) to yellow.
Wait 50 miliseconds.
Preserve Trigger.


In all truthfullness, I have no idea if that will work. But you can try it smile.gif. If you want me to, I can a also submit my theory on how to make it go to the right, if you start having that to not work.
Report, edit, etc...Posted by PCFredZ on 2006-03-01 at 18:13:17
While Mobile Grid System is jazzy pizzazzy and all, having an Observer patrol does sound better. Or if an observer is too slow, use a cloaked Wraith with replenishing energy.
Report, edit, etc...Posted by Staredit.Net Essence on 2006-03-01 at 20:39:36
Lol PC freds way is probably the best way to do it if the least complex. Currently it just consistantly goes right. Its gonna stay that way for a little while. But i know how in future refrences.
Report, edit, etc...Posted by GgG-M.K.Russ. on 2006-03-01 at 21:55:49
ob, fast ob or wraith. The other idea I had was manually giving ultralisk every 50ms or w/e u wanted. set a switch. Once u give to yellow on right, u give to red on left for it to go left. When the final ultra on the right is yellow, clear switch, and go backwards. The conditions would be if "Area 1 has red, are 2 has yellow, swithc is cleared" and vica versa
Report, edit, etc...Posted by joker2kill on 2006-03-01 at 22:05:33
make like a 10x4 (or whatever) location (as big as you want the bar) and make it follow a orb. then put when the orb reaches a ultralisk it changes players...but that of course would take tones of locations ;D
Report, edit, etc...Posted by Noober on 2006-03-01 at 22:06:54
QUOTE(Noober @ Mar 1 2006, 03:14 PM)
You center the location on an obs or something and have the obs patrol. Give all the ultras at the location to p12 and the ones not at the location to whoever.
[right][snapback]436999[/snapback][/right]


Mhmm.
Report, edit, etc...Posted by Staredit.Net Essence on 2006-03-01 at 22:16:59
noober that was spam. Im closing this because the last 3 were either already known and stated or spam.
Next Page (1)