I'm working on an map and I need help with one trigger. It's an hero revive trigger, I want the hero to revive after the level of the hero x 5 seconds.
The trigger right now looks like this: Event: Unit - A unit owned by player 1 dies Conditions: ((Dying unit) is a hero) equal to true Actions: Countdown timer - start revivetimer as a one-shot timer that will expire in (Here is where i need help)
The rest is not nesesary to write, I hope you understand what I mean.
ok thx, and I used to post in the other forums, I just have been busy latley, and have only comed here to do my job as an icon moderator. But I will start posting in the other forums soon.
Becouse I want it to take longer to revive it the higher the lvl of the dead hero is.
And hey, I need help again with another thing. this time it's about choosing hero, it's realy irritating that I can't get this to work myself. It's an ToB style hero selection.
Event: Unit - Necromancer 0021 <gen> is selcted Conditons: Actions: Unit - Create 1 Necromancer for ??? what shall I put here? I want the person who selected the unit to get the unit and I can't get it to work.
Events Unit - Necromancer 0000 <gen> Is selected Conditions Actions Unit - Create 1 Necromancer for (Triggering player) at (Center of Region 000 <gen>) facing Default building facing degrees
Why not just have a unit (such as a wisp) and give it a dummy ability that enables it to cast on a target hero. Have the wisp cast the spell on the hero you want to have, and the create the hero for the owner of the casting unit. I know thats not exactly what you wanted, but it's pretty easy to do .
If there's gonna be one of each hero, then give the unit to the selector, move it to the team's start location, create special effects, and turn off the trigger. Also make sure you check conditions to see if they go on the right team
If there's gonna be one of each hero, then give the unit to the selector, move it to the team's start location, create special effects, and turn off the trigger. Also make sure you check conditions to see if they go on the right team
thats what i'm trying to do, but i don't know how to give the unit to the selector.