• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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