HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Any way to make Storm, Earth, and Fire NOT kill the hero?

08-15-2006, 10:28 PM#1
darkwulfv
We are all aware that when the Panderan Brewmaster uses Storm, Earth, and Fire, he becomes 3 units. If those 3 die, then the Hero dies. Is there any way to prevent this from happening?
Also.
If I save a hero to a variable, remove him, then bring him back again, will the hero be 100% like he was before he was removed? (abilites learned, XP, items, bonuses, etc.) Becuase if so, then I will use this method to stop the ability from killing my hero, should I be unable to cancel the death as stated above.
08-15-2006, 10:34 PM#2
st33m
Erm, well. I think the way it works is that he IS all 3 units. If they all die he dies.

Also, if you save him like that, when would you save him? Right before he dies? Then yes, he would be the same as before that. On the other hand, if you save him before he casts, he would lose all the XP he gained in Storm, Earth, and Fire mode.

I think.
08-15-2006, 10:35 PM#3
Captain Griffen
You could resurrect him if he dies while under the influence.

Since the spell cannot be dispelled, I cannot see any problem.

PS: Sorry for the appalling word play.
08-15-2006, 10:36 PM#4
refl3ction
why dont you make a spell based of rexxar's Misha spell that summons the three panda elementals?
08-15-2006, 11:38 PM#5
Freakazoid
Make 1 unit with no model and add the locut ability.
08-15-2006, 11:50 PM#6
st33m
Quote:
Originally Posted by Freakazoid
Make 1 unit with no model and add the locut ability.
You would have to make it move to where you want the hero to come back. IE at the positon of one of the Pandas.
08-15-2006, 11:53 PM#7
Tiki
Yes but if they all die, then he will come back at the point of were the target was cast.
08-16-2006, 09:32 AM#8
blu_da_noob
Quote:
Originally Posted by darkwulfv
If I save a hero to a variable, remove him, then bring him back again, will the hero be 100% like he was before he was removed? (abilites learned, XP, items, bonuses, etc.) Becuase if so, then I will use this method to stop the ability from killing my hero, should I be unable to cancel the death as stated above.

You don't seem to understand how handles work. If you remove a hero, he is gone. You can't 'bring him back'.
08-16-2006, 10:16 AM#9
The)TideHunter(
Trigger:
Split
Collapse Events
Unit - A unit Starts the effect of an ability
Collapse Conditions
(Ability being cast) Equal to Your Ability
Collapse Actions
Custom script: local unit udg_Caster = GetSpellAbilityUnit()
Custom script: local location UnitLoc = GetUnitLoc(udg_Caster)
Collapse For each (Integer A) from 1 to SpellDurationSeconds, do (Actions)
Collapse Loop - Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
(Caster is dead) Equal to True
Collapse Then - Actions
Custom script: call ReviveHeroLoc(udg_Caster, CasterLoc, false)
Collapse Else - Actions
Wait 1.00 game-time seconds
Custom script: call RemoveLocation(UnitLoc)
Custom script: set udg_Caster = null
Custom script: set UnitLoc= null

Its a guess, but that should work.
08-16-2006, 01:58 PM#10
darkwulfv
Wow, that looks like it should work. Thanks a ton Tide, you always are helpful when it comes to this kind of thing.
+rep