Hi,
So I've got an idea of a channeled spell but I have never created a custom channeled spell.
So the idea for the spell is that the user would cast it like shockwave and it'd channel for 4 or so seconds. Every 0.25 seconds the user would create orbs that fly out in the target direction, dealing damage when they hit a target.
I know how to index so I can easily do the second part (orbs moving and dealing damage). However I'm not sure on the best way to get the caster as such.
I had an idea to add them into a group when they begin casting (starts effect of ability) and removing them when they finish or stop casting the ability. This way I could pick the group every 0.25 seconds and make the orbs from that.
Is this a good way to do it or is there a better method?
So I've got an idea of a channeled spell but I have never created a custom channeled spell.
So the idea for the spell is that the user would cast it like shockwave and it'd channel for 4 or so seconds. Every 0.25 seconds the user would create orbs that fly out in the target direction, dealing damage when they hit a target.
I know how to index so I can easily do the second part (orbs moving and dealing damage). However I'm not sure on the best way to get the caster as such.
I had an idea to add them into a group when they begin casting (starts effect of ability) and removing them when they finish or stop casting the ability. This way I could pick the group every 0.25 seconds and make the orbs from that.
Is this a good way to do it or is there a better method?