Staredit Network

Staredit Network -> UMS Assistance -> Help with this simple trigger
Report, edit, etc...Posted by Ren on 2006-07-07 at 19:22:35
Ok i have 2 locations inner location and outer location. What i want is when 1 of the units in the inner location move to the outer location. the trigger will order the unit in the outer location to move back to the inner location but it wont effect any unit that currently in the inner location.
Report, edit, etc...Posted by sharf on 2006-07-07 at 20:31:49
well its easier with 1 location on each side of the inner one liek 1 on top one on bottom one on left one on right like


_._._._
|..........|
|..........|
|_._._._|
like this and then always order all units at top,bottom,sider,sidel move to middle.
Report, edit, etc...Posted by Demon on 2006-07-07 at 20:43:43
Have you tried the move unit action?
Report, edit, etc...Posted by Ren on 2006-07-07 at 20:55:01
i am trying to save trigger so 1 trigger on each side wont work. 2. I want it to order to move back not move unit. So can anyone please help me with this?
Report, edit, etc...Posted by Noober on 2006-07-07 at 20:57:39
With a trigger limit of 1.7 million, you don't have to worry about too many triggers. The only way to do what you want, with multiple units, is surrounding it with 4 other locations and ordering units at each of those locations to move back.
Report, edit, etc...Posted by Electroid on 2006-07-07 at 21:32:18
CONDITION:
If Current player brings at least 1 (unit) to Location 2
ACTION:
Move Unit from Location 2 to Location 1
Preserve Trigger
Report, edit, etc...Posted by Demon on 2006-07-07 at 21:35:18
Read his posts.

QUOTE
I want it to order to move back not move unit. So can anyone please help me with this?


Use the Order action and tell it to move would be what your wanting no? I made a crapty map that demonstrats it if you wanna see. Don't forget to use preserve trigger if you want the trigger to stay active all game.
Report, edit, etc...Posted by 00cnr on 2006-07-07 at 21:37:21
QUOTE
CONDITION:
If Current player brings at least 1 (unit) to Location 2
ACTION:
Move Unit from Location 2 to Location 1
Preserve Trigger


The problem with that is every unit is in location 2, so the trigger would effect every unit. What you need to do is have locations on the sides of location one and use the move unit / order unit action to move the unit back into location one.

Another way would be to have the same trigger for each player but that won't work if each player has more than two, if so, see above.
Report, edit, etc...Posted by Oo.Vic.oO on 2006-07-07 at 21:47:55
u could make the outter part high lvl elevation terrain and inner part low and check high level elevation for outter location and check low for inner location.

then u can just do always order to all men own by ___ at outter location move to inner.
Report, edit, etc...Posted by Ren on 2006-07-07 at 22:39:14
what happen if all those marines are air? thanks alot for helping
Next Page (1)