P
PsychoPif
Guest
I need a dummy spell tutorial and/or example. I've search the forum, but I'm looking for one with local variable and JASS script. Anyone got some links ?
Here's what I have so far, but I can't find the way to findout an hero ability level and how to make the dummy cast the spell
Thanks in advance.
Here's what I have so far, but I can't find the way to findout an hero ability level and how to make the dummy cast the spell
Thanks in advance.
Code:
Cloud of Fog
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Cloud of Fog
Actions
Unit - Create 1 Dummy for (Owner of (Triggering unit)) at (Target point of ability being cast) facing Default building facing degrees
Custom script: local unit Dummy = GetLastCreatedUnit()
Custom script: SetUnitVertexColor(Dummy, 100.0, 100.0, 100.0, 100.0)
Custom script: UnitAddAbilityBJ( 'A009', Dummy)
Custom script: SetUnitAbilityLevelSwapped('A009', Dummy, 10)


