🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!
I don't know how to do the first one, but the second one is easy enough.
You can give the unit the Locust ability. That makes them unselectable by the player, meaning that in order to give them orders, you would need to use triggers. However, that makes them unselectable to EVERYTHING. Attacks, etc., so keep this in mind.
Are you sure Locust unit can't attack ?
Maybe you disabled its attack index or something ?
I tried to locust a unit, once
And enable its attack index and so on
He still can attack other, but other unit can't attack it, that's the only way around
Here's a system that causes you not to be able to order your units.
Units get a point where they are ordered to attack when they spawn. If you order them to do something, the order you gave them will be overridden with an attack-move commad to their original destination.
Every 5 seconds a footman spawns. Try to order him around. Pressing ESC will order a random footman to attack-move to another location.
@Chasin225: The reason that your unit can't be ordered when you've given it the "Locust" ability, is because "Locust" cancels all incoming orders (making the unit behave on it's own) however, if you temporarily remove "Locust", and order your unit to do what you want, then replace the "Locust" ability... it works! Well, until it finishes the order you give it, then it resorts to it's own line of thinking. So you have to either give it an order that takes a while to complete (like an "attack-move" from one side of the map to the other) or you have to use timers to refresh its orders.
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.