Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Permant Unit Order
Permant Unit Order
Apr 13 2010, 1:44 am
By: Newb  

Apr 13 2010, 1:44 am Newb Post #1



Is it possible to order a unit to point A ( owned by you ) and have it go to Point A without you being able to stop it from going to Point A?
A big factor is there are units going back and forth from Point A to Point B, and Point B to Point A, all at the same time.



None.

Apr 13 2010, 1:57 am Lanthanide Post #2



Only through repeated ordering of the unit, so that any orders the player gives it will be overrided quickly, or by giving the unit to another player to prevent the human from ordering it differently. If you give the unit to P9-11, it will retain it's original player colour, then you could give it back at the destination.



None.

Apr 13 2010, 2:13 am Newb Post #3



They would have to remain your unit the whole time, I forgot to say there are six players that this is happening to, and they can walk in-between each other. It would also have to be the same unit.



None.

Apr 13 2010, 3:04 am Apos Post #4

I order you to forgive yourself!

Are you able to use the hero of each units that are going to be used? if so, I would suggest using it so you don't need any advance triggering that could possibly mess up if not done properly.

If you can't use heroes, maybe you could just move the units back from location A to location B so that the units would only go one way.

Make a parallel path so that units going one way will not be mixed with units going the other way.

Detect (Using EUD) if a unit of that kind was selected and make a trigger that will give all units to player 9 and back. (There may be a 2 second delay so...)

If you want to use EUD actions, you can always make you units un-selectable (You would have to find the right address if it was not already found.).

The possibilities are limited to your map idea so if you can't make starcraft fit into it, adapt your map to starcraft's limitations, sometimes just a little change will do the same result and will not change the whole game-play.

Hope that helped.




Apr 13 2010, 9:33 am NudeRaider Post #5

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

If there's more than 1 unit per player then things get difficult. You will have to follow each of the units with a 1x1 pixel location and keep track of which units are walking up and which are walking back down.
In any case you will need hyper triggers.

If there's many units (more than you can follow by 1x1 pixel locations) you could use Apos' method: Make them take slightly different paths like the left and the right side of a road. Elaboration:
You could have rail shaped locations (if exactly vertical or horizontal paths) to save locations. Problems could possibly arise when the units take detours because of obstacles (e.g. slower units) or are not sent straight along the line, which the SC path finding AI loves to do. Widen the rails as much as possible to prevent units from leaving them.
If that doesn't help you could add buffer locations along the rails that get the units back on track but that triples the location cost and the units might go backwards for a bit sometimes. And locations are a valuable resource in SC mapping.




Apr 13 2010, 9:13 pm Newb Post #6



Apos's method sounds like it would work for what I need ( I believe ). Any hero units would go to Point B, any non-hero would go to point A. It will work perfectly as long as I have both available units. Therefore, I could spam the order unit command.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[03:55 pm]
Zoan -- :wob:
[10:34 am]
NudeRaider -- SEN doesn't rely on spammers initiate its sleep cycle. It hat fully automated rest and clean-up phases. Please understand that this is necessary for the smooth operation of the site. Thank you.
[03:45 am]
Sylph-Of-Space -- Does the shoutbox get disabled when there's spammers?
[2024-5-17. : 6:47 am]
NudeRaider -- lil-Inferno
lil-Inferno shouted: nah
strong
[2024-5-17. : 5:41 am]
Ultraviolet -- 🤔 so inf is in you?
[2024-5-17. : 4:57 am]
O)FaRTy1billion[MM] -- my name is mud
[2024-5-17. : 4:35 am]
Ultraviolet -- mud, meet my friend, the stick
[2024-5-16. : 10:07 pm]
lil-Inferno -- nah
[2024-5-16. : 8:36 pm]
Ultraviolet -- Inf, we've got a job for you. ASUS has been very naughty and we need our lil guy to go do their mom's to teach them if they fuck around, they gon' find out
[2024-5-16. : 5:25 pm]
NudeRaider -- there he is, right on time! Go UV! :D
Please log in to shout.


Members Online: 5lydiac76100fe3, 8emmae3722re7, Wing Zero