• 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!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Making Units Unselectable

Status
Not open for further replies.
Level 11
Joined
Jun 21, 2007
Messages
505
i-15.jpg


I need a way to make the unit not to display it's selection scale and Hit Points when the cursor is over it. (else, i will have a big problems with triggers)

The unit must remain be able to attack other units.

Question: what is that way?
 
Level 6
Joined
Apr 27, 2006
Messages
186
You can't add the locust ability to a unit, you need to make the unit out of the locust unit (Units-Undead-Special).
 
Level 22
Joined
Feb 26, 2008
Messages
892
> You can't add the locust ability to a unit

Yes you can. I just tried this. Though, don't expect to find the ability in the Object Editor. It's not an editable ability.
You won't find it in the GUI list of abilities to add, either. So, if you need to add it by trigger, it will take this:

  • Custom script: call UnitAddAbility( GetTriggerUnit(), 'Aloc' )
 
Go to object editor, search for that "unit that is on the picture" search for abilities-normal and search in unit abilities"locust" and click ok or press enter twice... if this is to hard to make(goddamn its hard! :p) do a trigger event:time elapsed is equal to 0.01
conditions/
actions make unit unselectrble (search in unit section) and click on "unit on the picture"

If you dont understand this, you just canot be helped.

HF -BR-
 
Level 6
Joined
Apr 27, 2006
Messages
186
Wtf that's weird I was wrong. I see it in the list now, but I'm sure just a while ago I tried to give it to a unit and I couldn't :S.
 
Level 3
Joined
Feb 28, 2008
Messages
31
They have Phoenix Fire.
More specifically, the Items have a modified ablilty based off Phoenix Fire ('Apxf') with the duration set to 0.01 (I think, haven't seen the map), duration damage set to 0, AOE set to the range, cooldown, missile art, damage set to whatever to emulate cannons.
 
Level 19
Joined
Aug 24, 2007
Messages
2,888
Info:
For adding locust, add 'Aloc' with trigger
For removing locust, Hide unit, remove 'Aloc', unhide unit
 
Status
Not open for further replies.
Top