• 🏆 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!

Simple vision region modifiers

Status
Not open for further replies.
Level 5
Joined
Feb 18, 2016
Messages
96
Hello
I want to make a unit gain vision of all a region when he enters it but the problem is i want the unit to lose the vision when it dies
I was trying to make it but it is not working (the region visibility modifier is not destroyed so the unit never lose vision)
 
Level 21
Joined
Dec 4, 2007
Messages
1,477
You can also store the visibility modifier in a variable of that type and enable/disable it whenever needed.
 
Level 19
Joined
Jul 2, 2011
Messages
2,162
the easiest solution is to just change the units range of sight. I can't remember how this is done but I know that in the editor, the unit edit, that it is close to the top near the unit collision.

changing it in trig is anothing thing. I have no idea how
 
Status
Not open for further replies.
Top