I'm making a Fireball Spell for my Full Action RPG - Preview Map, but I don't know how to JASS it
It's based on a dummy point targetting ability (silence)
A fireball should be created at the caster's position (done) and should move towards target point (done). If anything stands in its way (ally or enemy) it should explode, killing the fireball and damaging nearby units (htf do i do that? how can I make a Unit within range event for that?)
Also it woild be solved if everytime I created a Fireball I added the Unit In Range Event to the explotion trigger, but then I would have an event for everytime I cast a fireball... that's lots of events and lots of damaging since that particular event wouldn't mind if the fireball is alive or isn't. So I would need to remove events... is that possible??
The prize for the answer is your name in the spell... ohhh imagine "Cast Ronald Brown's Fireball " (well I really wouldn't do that, but I'll be really thankful)
It's based on a dummy point targetting ability (silence)
A fireball should be created at the caster's position (done) and should move towards target point (done). If anything stands in its way (ally or enemy) it should explode, killing the fireball and damaging nearby units (htf do i do that? how can I make a Unit within range event for that?)
Also it woild be solved if everytime I created a Fireball I added the Unit In Range Event to the explotion trigger, but then I would have an event for everytime I cast a fireball... that's lots of events and lots of damaging since that particular event wouldn't mind if the fireball is alive or isn't. So I would need to remove events... is that possible??
The prize for the answer is your name in the spell... ohhh imagine "Cast Ronald Brown's Fireball " (well I really wouldn't do that, but I'll be really thankful)