• 🏆 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!
  • ✅ The POLL for Hive's Texturing Contest #33 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!

[Solved] Dynamic Visibility Question

Status
Not open for further replies.
Level 12
Joined
Jun 10, 2008
Messages
1,043
I was wondering if theres a way (through GUI) to reduce all unit's vision by X% when they enter X Region and reset it when they enter Y Region. I've looked through and didn't find anything, though I might have mised it. I'll keep on looking as I wait for an answer, thanks
 
Level 33
Joined
Mar 27, 2008
Messages
8,035
1. You can reduce the vision of the unit
2. You can't reduce it by percentual (%) but in Integer (whole number) value.

I used Item Sight Range Bonus as base ability
Make the number for "Data - Sight Range Bonus" to a negative value (making it reduce, not increase)
To make it negative, hold SHIFT + double click that field
Add the "-" followed by your desired value to be put
In this this map, I used -400 sight range, so the unit will have a reduced of 400 sight range
Note: Enter the woods and leaves the woods, try it for several time, you'll notice the different
 

Attachments

  • Simple Reducing Sight System.w3x
    14.2 KB · Views: 32
Status
Not open for further replies.
Top