• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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,488
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