HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Order "smart" Problem

06-15-2006, 12:04 PM#1
Sharingan
Smart represents the "Right-Click" order of a player, this can include "Move","Patrol","Attack","Load" etc.......
Is there a way to prevent loading units like Zeppelin to "load" if a player does Right-Click?
I tried to "stop" the cargo-holding unit, then to order it to "Move" to the target...but hell, it won't work >>...
I also tried to do that using the condition "Order = load", no use...
06-15-2006, 12:41 PM#2
blu_da_noob
Event
Unit is issued order targetting an object

Condition
Issued order == "smart"
Ordered unit is of type (your transport)
Target unit of order is a viable transportable unit

Action
Pause ordered unit
Order ordered unit to stop
Unpause ordered unit
Order ordered unit to move to unit
06-15-2006, 02:42 PM#3
Sharingan
Could you explain the difference between "pause" and to "stop"?
06-15-2006, 02:52 PM#4
iNfraNe
pause will make the unit halt and after pausing it will continue its path. Stopping will cancel the currect order.
06-15-2006, 03:21 PM#5
Sharingan
Hmm, why isn't "canceling the current order" not enough then?
Like, it won't work without pausing the unit...
NVM: It does work >>
06-15-2006, 05:19 PM#6
blu_da_noob
Ordering a unit to stop does work, but not instantly. Pausing, issueing the stop order, and then unpausing will prevent it from doing things which 'stop' alone would not be fast enough to catch.