Seems like you can solve your own issue... I can't make every independent and random case like yours in a tutorial; however, you can apply the things I show to use in your map :D
Like I said... you don't need that unless they're global variables. Since it is a trigger that has local variables, it will be run in "instances" for each player's hero that dies... and thus you don't need 12 sized array.
Also, good to know about removing... but yeah triggering unit has lost its reference for me in one of my published maps which I had to fix by storing it.
To Sublimity: Good to know. Both work... it also demonstrates using Pick each unit, which a lot of people could use some familiarity with.
I know recently there was a data tutorial on doing revival... well I did the flipside which is the trigger method... heroes will revive with level, items, etc...
Part 1:
Right click the video and click watch on youtube to get widescreen/fullscreen.
Subsequent parts in the descriptions...Map DL link in the descriptions too.
@MeltAge: Go
press ctrl+D to see what the variables name is in raw form, probably "hero" instead of "Hero".
Either way I think this tutorial is out of date pretty much. I'll need to figure out a new system even for my rpg.
@Zantai: Go
I'd like to switch to this system actually... and do a tutorial on it too.
@Belymar: Go
Seems like you can solve your own issue... I can't make every independent and random case like yours in a tutorial; however, you can apply the things I show to use in your map :D
GL!
@lorenzlorenz: Go
Stats - Death Time.
And yes it does still work.
@MangledMind: Go
Like I said... you don't need that unless they're global variables. Since it is a trigger that has local variables, it will be run in "instances" for each player's hero that dies... and thus you don't need 12 sized array.
@Mille25: Go
Death time is important. Won't work without it.
Also, good to know about removing... but yeah triggering unit has lost its reference for me in one of my published maps which I had to fix by storing it.
To Sublimity: Good to know. Both work... it also demonstrates using Pick each unit, which a lot of people could use some familiarity with.
@vjeux: Go
Ah yeah I totally understand your situation. Sometimes I just want to be free and fly awa- *fell off the cliff*
@vjeux: Go
Thanks Vjeux! Are you working on any cool secret maps? I never know what you're up to haha.
EDIT: THIS METHOD IS OLD NOW... New tutorial at: http://forums.sc2mapster.com/resources/tutorials/13715-video-new-hero-revival-tutorial/
I know recently there was a data tutorial on doing revival... well I did the flipside which is the trigger method... heroes will revive with level, items, etc...
Part 1:
Right click the video and click watch on youtube to get widescreen/fullscreen.
Subsequent parts in the descriptions...Map DL link in the descriptions too.