HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Make units unable to control by player

03-16-2010, 10:36 AM#1
Kueken
Hey

probably the 1000. thread for this.While searching, I found this, adding ward classification and then add the rally ability, to "block" the remaining smart orders.

However, it does not show the desired results. I can add rally to heroes and everything works fine, but when I try to achieve the same with units, they simply won't get the rally ability. I tried declaring them as buildings, this causes them to get rally properly, however, in this case setting a rally point interferes with the unit's current order (it does not cancel the order, but pauses the unit a short time, maybe cast point is used?)

So... is there some special trick? Am I doing something wrong? Or does this method not work at all for normal units?
03-16-2010, 01:12 PM#2
Panto
I don't know specifically what you're trying to accomplish, but some alternatives are:

Give the unit Locust and the player will still technically control the unit but will be unable to select it or give it orders. You can still give it orders via trigger.

Create a trigger that detects any order given to the unit and then:
Pauses the unit
Orders it to Stop
Unpauses the unit
This will effectively cancel the order.
03-16-2010, 03:07 PM#3
Kueken
I want units owned by the player, fully selectable and clickable, but not controllable by the player. I know, this can be achieved by saving and issuing the last order on a "smart" order + adding ward classification.
However, I found this thread, and since Diod and Rising_Dusk confirmed, it is possible with rallypoints, I assume I might do something wrong and wanted to ask.