BloodySkullz
Active Member
- Reaction score
- 10
Hi, I am practicing Jass scripts and I am new to it. There is an ability that I am practicing and it is made with Jass scripts.
Ability: Upon casting, (A dummy unit with the model “Stormbolt” is created and will travel 600 units in front of the caster). MUI spell.
So I used timers that will expire to move the “Dummy Stormbolt”. However, it is stored in a Local Variable in a function (A) during my settings [as i.e.”Missile” variable]. When my triggers check for Expiring Timer, it is set to run function (B) on Missile.
I can’t get the function (B) to run the desired action on Missile because it is stored in a function as a local variable and the local variable is used only for 1 function. So can anyone help me with this?
Ability: Upon casting, (A dummy unit with the model “Stormbolt” is created and will travel 600 units in front of the caster). MUI spell.
So I used timers that will expire to move the “Dummy Stormbolt”. However, it is stored in a Local Variable in a function (A) during my settings [as i.e.”Missile” variable]. When my triggers check for Expiring Timer, it is set to run function (B) on Missile.
I can’t get the function (B) to run the desired action on Missile because it is stored in a function as a local variable and the local variable is used only for 1 function. So can anyone help me with this?