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 23
Joined
Dec 4, 2007
Messages
1,554
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,161
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