////
Raw Codes To be used in this Trigger
RawCodes For Old Spells:
A07E:ANmo ( Normal Spell ) <-- AoE Spell
A04E:A0s2 ( Normal Spell ) <-- AoE Spell2
A024:A0cl or A024:A0cI ( Normal Spell ) Hard to see. <--- The old Ulti / Chain lightning alike
RawCodes For New Spells:
A023:ANmo ( Old Spell Turned into Ulti )
A02B:ANsi ( Normal spell ) <-- Silence/Slow
A070:AUfn ( Normal Spell ) <--similar to frost nova
HeroUnitID:
H01G:Hant
////
Question: Is the Part after the colon not needed, such as Hant in (H01G:Hant) or AUfn in (A070:AUfn)?
I know I m missing a createTrigger() somewhere and some other things I need to incorporate into this.
I want to make it so the Trigger is only able to be executed once and then destroyed/removed.
Purpose of the Trigger: I am giving the Player the option to swap to the old version of the Hero
if that Player wants to and can be done at anytime in the game.
I need to swap the spells in the hero skills selection menu from the New spells to the Old spells.
( If it can't be done once the Player has already picked the spell, it won't matter, the player will just have to do it when the hero is at level one and hasn't picked a spell yet. )
This trigger is suppose to remove the New spells from the hero and put the Old ones onto him. Some people may like the other one more.
////
function RevertForm takes nothing returns nothing
call TriggerRegisterPlayerChatEvent(MPz1,Player(6),''-RevertForm'',true)
call TriggerSleepAction(1.00)
exitwhen GetTriggerExecCount(MPz1)>0
( I don't know what I'm missing for the middle component or how to make this trigger work )
call RemoveTrigger(MPz1)
call DestroyTrigger(MPz1)
set MPz1=null
endfunction
Does anyone know how to complete this trigger? I need the trigger destroyed once its used once.
There is a spell that is prepicked at level one for the hero, hopefully it works at any level of the hero.
Do I need NameOfHero and NameOfSpells?
Raw Codes To be used in this Trigger
RawCodes For Old Spells:
A07E:ANmo ( Normal Spell ) <-- AoE Spell
A04E:A0s2 ( Normal Spell ) <-- AoE Spell2
A024:A0cl or A024:A0cI ( Normal Spell ) Hard to see. <--- The old Ulti / Chain lightning alike
RawCodes For New Spells:
A023:ANmo ( Old Spell Turned into Ulti )
A02B:ANsi ( Normal spell ) <-- Silence/Slow
A070:AUfn ( Normal Spell ) <--similar to frost nova
HeroUnitID:
H01G:Hant
////
Question: Is the Part after the colon not needed, such as Hant in (H01G:Hant) or AUfn in (A070:AUfn)?
I know I m missing a createTrigger() somewhere and some other things I need to incorporate into this.
I want to make it so the Trigger is only able to be executed once and then destroyed/removed.
Purpose of the Trigger: I am giving the Player the option to swap to the old version of the Hero
if that Player wants to and can be done at anytime in the game.
I need to swap the spells in the hero skills selection menu from the New spells to the Old spells.
( If it can't be done once the Player has already picked the spell, it won't matter, the player will just have to do it when the hero is at level one and hasn't picked a spell yet. )
This trigger is suppose to remove the New spells from the hero and put the Old ones onto him. Some people may like the other one more.
////
function RevertForm takes nothing returns nothing
call TriggerRegisterPlayerChatEvent(MPz1,Player(6),''-RevertForm'',true)
call TriggerSleepAction(1.00)
exitwhen GetTriggerExecCount(MPz1)>0
( I don't know what I'm missing for the middle component or how to make this trigger work )
call RemoveTrigger(MPz1)
call DestroyTrigger(MPz1)
set MPz1=null
endfunction
Does anyone know how to complete this trigger? I need the trigger destroyed once its used once.
There is a spell that is prepicked at level one for the hero, hopefully it works at any level of the hero.
Do I need NameOfHero and NameOfSpells?