• 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.

Hero Vision Glitch on death

Status
Not open for further replies.
Level 3
Joined
Jul 12, 2007
Messages
50
Hello, I am working on a hero arena type map, and I am having a problem. The heroes have a set vision radius, however when they die there vision radius is largely reduced (to the point where it makes the game hard to play properly).

How do I fix this?
 
Level 3
Joined
Jul 12, 2007
Messages
50
I'm still having problems.

• How would I go about reviving (not instantly)?
• shifting the day / night time does not work. (map has time of day frozen at noon)
• What kind of trigger would I use to emulate LoS?
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,258
How would I go about reviving (not instantly)?
Use a timer to delay the revive or TriggerSleepAction (the wait as an action).

shifting the day / night time does not work. (map has time of day frozen at noon)
I mean you simply shift it to both in under a frame so it appears constant to players but it changes the LoS used twice (from day to night and then back to day) which would hopefully restore the LoS to full. I do not know if it will work so if it does not do not say I said it will.

What kind of trigger would I use to emulate LoS?
A genericly run one on a timer. Basically modern anti MH uses a simlar method.
You run a trigger faster than the max frame rate of WC3 and so it appears to be fluid. And in the trigger for your hero it basically reveals the area around it like normal LoS triggers do.
 
Status
Not open for further replies.
Top