• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Visibility of iten (torch)

Status
Not open for further replies.
Kinda sounds like you wanna change the vision range of the unit.
I don't recall if there's an action to do that, but try looking/searching in the editor.
 
There's API already implemented for that on versions 1.31+ one can now manipulate sight range on run-time through units field. You must use triggers for detecting if the unit acquires the torch (not sure if you're referring to use an item ability)
 
Could also give the torch the sight range bonus ability, I think.
Definitely not a bad idea, but this wouldn't change his vision to be lower when entering a cave.
However, one could expand on this idea, by giving the units a standard vision range that corresponds to the vision in the cave, then give them an improved vision spell that is set to level 2 when outside (for "normal vision"), set to level 1 when in a cave (for "darkened vision") and then set to level 3 for when you're holding a torch inside a cave.
That way, you gain control over the vision field of the unit in versions prior to 1.31
For 1.31+ though, I guess one could just use the API.
 
Status
Not open for further replies.
Back
Top