HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

How to detect if a unit has "no order"?

01-24-2004, 06:13 PM#1
Bloodlust
Lets say you have a map with a unitspawn for the computer that attacks something, somewhat like AoS. Now also heroes spawn there.
The problem is, if heroes cast active abilities they do not remember their last command and just stay there.

Now I want a trigger that gives units with stop order or NO ORDER some new orders. The problem is, how can i detect if a unit has NO ORDER at all?
01-24-2004, 06:31 PM#2
Narwanza
use the search function, already been answered.
01-24-2004, 07:01 PM#3
Bloodlust
I was searching and didnt find an answer.
01-25-2004, 10:04 AM#4
Bloodlust
bump
01-25-2004, 10:13 AM#5
chemo
okay its very simple...

Event:

Unit - A unit owned by Player X Is issued an order with no target

A:

Unit - Order (Ordered unit) to "UR ACTION HERE"
01-25-2004, 10:55 AM#6
Dimples
Chemo, I don't think that will work...

Try this putting this as condition, Bloodlust -- (Current order of (YOUR UNIT)) Equal to (Order(stop))
01-25-2004, 11:09 AM#7
chemo
it does work perfectly in my map...
so no need to worry
01-25-2004, 12:27 PM#8
Bloodlust
ok i will try if it works this evening, thanks