Revived Hero = No Vision

Legacyspy

New Member
Reaction score
19
When a hero dies and is revived, it has no sight range. So if it enters fog of war the player can't control it. How do I fix this problem?
Code:
Undead
    Events
        Unit - A unit Dies
    Conditions
        ((Dying unit) is A Hero) Equal to True
        (Point-value of (Triggering unit)) Equal to 2
    Actions
        Hero - Instantly revive (Dying unit) at (Center of Zbase <gen>), Show revival graphics

Woops wasn't paying attention to what forum I was in.
Move/Delete
 
B

benj_war3

Guest
Maybe it's neutral or some sort.. Let me try this trigger.

Code:
Events
    Unit - A unit Dies
Conditions
    ((Dying unit) is A Hero) Equal to True
    (Owner of (Dying unit)) Equal to Player 1 (Red)
Actions
    Hero - Instantly revive (Dying unit) at (Center of (Playable map area)), Show revival graphics

Maybe you should create the owner. :confused:
 
B

benj_war3

Guest
I tested it and worked! Here's my trigger:
Code:
Events
    Unit - A unit Dies
Conditions
    ((Dying unit) is A Hero) Equal to True
Actions
    Wait 2.00 seconds
    Hero - Instantly revive (Dying unit) at (Center of Region 000 <gen>), Show revival graphics

I don't know what's wrong if it doesn't work in yours. ^^
 

cleeezzz

The Undead Ranger.
Reaction score
268
he probably modified the sight range of the unit in the object editor and made it 0 or something.
 
B

benj_war3

Guest
Did you try my trigger? Well, care for me to explain what I did. I created a hero, the Fire Infernal in a certain place. I created level 10 enemies-Neutral Hostiles- Around him. And when he dies, he revives instantly to the region.
 

Cidzero

Imma firin mah lazer!!!1!1
Reaction score
39
Your trigger doesn't work because your point value is 2...if you meant using custom value, you might want to check that out.
 

darkRae

Ueki Fan (Ueki is watching you)
Reaction score
173
Legacyspy said:
When a hero dies and is revived, it has no sight range.

A unit cannot lose its sight range.
Did you modify its sight range?
 
B

benj_war3

Guest
Aw.. How come I tested my trigger and it is revived in 2 seconds. Weird huh?:confused:
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top