- Joined
- Jun 13, 2012
- Messages
- 113
So basiclly what i want is a trigger that allows the unit to move with an issue order then when it stops moving it runs the issue order again, making it an infinite loop.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
pick every unit from unit group and do

loop


if all conditions are true then do actions



if conditions




issued order of picked unit equal to order "smart"



then




do actions here.



else
Acciones

Grupo de unidad - Pick every unit in (Unit in (Playable map area)) and do (Actions)


Bucle: Acciones



If (All Conditions are True) then do (Then Actions) else do (Else Actions)




Si: Condiciones





((Current order of (picked unit)) igual a (Order(stop))) or ((Current order of (Picked unit)) igual a (Order(smart)))




Entonces: Acciones





Unidad - Order (Picked unit) to mover a (Center of PointX <gen>)




Otros: Acciones
Hmm what does smart mean? so if i put smart is = not true does that mean that the unit isnt moving?
You can use this system too
Every 0.02 second
Acciones
Grupo de unidad - Pick every unit in (Unit in (Playable map area)) and do (Actions)
Bucle: Acciones
If (All Conditions are True) then do (Then Actions) else do Else Actions
Si: Condiciones
((Current order of (picked unit)) igual a (Order(stop))) or ((Current order of (Picked unit)) iguala (Order(smart)))
Entonces: Acciones
Unidad - Order (Picked unit) to mover a (Center of PointX <gen>)
Otros: Acciones
iguala is equal too?
I did the above on my phone so actions may be wrong
pick every unit from unit group and do
loop
if all conditions are true then do actions
if conditions
issued order of picked unit equal to order "smart"
then
do actions here.
else
I did the above on my phone so actions may be wrong
pick every unit from unit group and do
loop
if all conditions are true then do actions
if conditions
issued order of picked unit equal to order "smart"
then
do actions here.
else
Yes it is what im looking for but i issue order them to move to a random location of playable map area. Is that possible with out using dumby? and how do u do it with more then one unit?
Move Next

Events


Unit - A unit Is issued an order targeting a point

Conditions


(Issued order) Equal to (Order(move))


(Unit-type of (Triggering unit)) Equal to Moving Unit Type

Actions


Custom script: jass code for queuing following issue order: Order (Triggering Unit) to Move To (Random point in (Playable map area))