• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

[Trigger] Confuddling Trigger!

Status
Not open for further replies.
Level 19
Joined
Oct 1, 2008
Messages
1,665
[SOLVED]
I need help making a trigger that, in some way or another, makes a unit unselectable or invisible when it comes within 150 or so range of a destructible!
This is to ensure that someone cant just drag their mouse over the screen to find a unit that is meant to be hiding.
Making regions will not work as new doodads will be popping up and getting destroyed.
 
Last edited:
Locust doesnt work, as the unit will need to be attacked and moved around (I tried it) and Invisibility wont work because it allows the player to stand out in the open, making it hard to know where to look...

PS. Yay Disco Chicken!


EDIT. YAY I worked it out! I just disabled pre- and box-selection! It was so simple!
Thanks anyway
 
Last edited:
u can try this, not sure if it works tho. just theory. to disable healthbar set selection circle to -1.
And then do this
its vertex color to invis, at same time as setting its flying height to 2000 (or very high) or all players accept the localplayer. Reason why is to avoid desync, cus as long as u call the same function for all players, it doesnt matter value. Just make sure to not do a GetUnitFlyheight when it is hiding... cus tat will desync (different fly height)
 
Pre-selection is when you just hover your mouse over an unit and you see that dim green circle appear beneath the unit. It also shows that little box above the unit with stuff like the player's name and the unit level.

Box-selection is, as the name implies, where you drag the mouse to select multiple units.
 
Pre-selection is when you just hover your mouse over an unit and you see that dim green circle appear beneath the unit. It also shows that little box above the unit with stuff like the player's name and the unit level.

Box-selection is, as the name implies, where you drag the mouse to select multiple units.

But how do you disable that?
 
Status
Not open for further replies.
Back
Top