- Joined
- Aug 19, 2008
- Messages
- 491
Hai fellow members!
I've been working on a easy project for about 2 hours. I made a spell with GUI called "Armageddon". It's basically a combined Starfall and Earthquake.
The only major difficulty is that I wanted it to be looping (a.k.a destroyed when the caster moves) but the earthquake spell is triggered with a dummy unit.
I solved it, but after a while I noticed it wasn't correct.
(The earthquake would persist if another unit casted Armageddon).
I've tried for some time now to get the dummy to be set as a unit array (set dummy[Player Number of ( Owner of (TriggeringUnit)))] = Last Created Unit ).
I don't want to go too deep into this swamp of triggering, so I leave it to you exceptionall JASS users:
Is there any way I can make it looping with a Jass Trigger (meaning killing the dummy if caster moves, used in the same code)?
EDIT
I got a JASS code from scorpion182. Unfortunatly something happend when I changed the data for the spell
(cool1 3->90, DataB1 1.50->0.50, DataA1 40->15) and it made the code unusable
Maybe the effect starts too fast for the JASS code to recognize as a order string?
Also help with adding a special effect would be appreciated
I would like the spell to every 2 seconds fire a Flame Strike at a random point within 1000 of the caster.
It won't do any damage, just special effects.
I've been working on a easy project for about 2 hours. I made a spell with GUI called "Armageddon". It's basically a combined Starfall and Earthquake.
The only major difficulty is that I wanted it to be looping (a.k.a destroyed when the caster moves) but the earthquake spell is triggered with a dummy unit.
I solved it, but after a while I noticed it wasn't correct.
(The earthquake would persist if another unit casted Armageddon).
I've tried for some time now to get the dummy to be set as a unit array (set dummy[Player Number of ( Owner of (TriggeringUnit)))] = Last Created Unit ).
I don't want to go too deep into this swamp of triggering, so I leave it to you exceptionall JASS users:
Is there any way I can make it looping with a Jass Trigger (meaning killing the dummy if caster moves, used in the same code)?
EDIT
I got a JASS code from scorpion182. Unfortunatly something happend when I changed the data for the spell
(cool1 3->90, DataB1 1.50->0.50, DataA1 40->15) and it made the code unusable
Maybe the effect starts too fast for the JASS code to recognize as a order string?
Also help with adding a special effect would be appreciated
I would like the spell to every 2 seconds fire a Flame Strike at a random point within 1000 of the caster.
It won't do any damage, just special effects.
Last edited: