Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
How to make a player cannot control its own unit. The player still can select its own unit. The unit is selectable and can be targeted by enemies. I dont want to deselect the unit
In my map, few creeps are created via trigger and they are ordered to patrol to certain places. The creeps are owned by player. I dont want that player to control that creeps by ordering them to attack or move.
You can add the "ward" classification to those units. This hides the command card and only allows the player to use right-click ("smart") commands.
You can then prevent the player from using right-clicks by simply catching the smart order and cancelling it.
Btw, ward units can still cast spells through scripts and triggers.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.