C: JASS is actually pretty easy, but if you are resilent to doing anything new, then you will never learn usefull tools like JASS.
A & B: You can make the ability cast on "Self".
You can use dummy units for so many things. You can use them as you would pheonix fire but control the target (Helped someone with that earlier), you can use the to channel, you can use them to attack with certain art... the list is endless. Almost? Maybe "Some"D: Notice I said ALMOST.
The Pyramid of Light UnitEnters function:
Make (Entering Unit) invulnerable.
The Pyramid of Light UnitLeaves function:
Make (Leaving Unit) vulnerable.
The Pyramid of Light function:
Create local variables: trigger et: The entering trigger, trigger lt: The leaving trigger, lightning array l: The lightning effects, integer i: Loop Index
set l[0] = CreateLightning(lowerLeft point, upperLeft point)
set l[1] = CreateLightning(upperLeft point, upperRight point)
...
set l[8] = CreateLightning(lowerLeft point, highMiddle point)
set et = CreateTrigger()
Regester a entering square event for et, with a region around the caster.
Set the action of et to be the Pyramid of Light UnitEnters function
set lt = CreateTrigger()
Regester a leaving square event for lt, with a region around the caster.
Set the action of lt to be the Pyramid of Light UnitLeaves function
loop from 0 to the time desired:
Damage Enemys
Heal allys
Wait for one second
DestroyTrigger(et)
DestroyTrigger(lt)
set i = 0
loop from 0 to 8:
Destroy Lightning effect l[i]
Init the Pyramid of Light function, so it runs when a unit casts the Pyramid of Light spell.
Yea, I know. You can't make a local trigger (Or a local anything, for that matter) in the GUI, though.Rad said:You can make a lightning pyramid without JASS
Well, I wouldn't phrase it "An entire section"... There are three functions: Create, move and destroy.Rad said:theres an entire lightning section of GUI...
It has its own title 'Lightning' therefore it is in its own section.Well, I wouldn't phrase it "An entire section"... There are three functions: Create, move and destroy.
And Region has an entire section: Region - Move.Rad said:It has its own title 'Lightning' therefore it is in its own section.