Code:
Problem description:
I need a good beam code, but i am pretty much a noob coder, so i need it as simple as possible. TY !
ID:167448
Mar 13 2006, 1:38 pm (Edited on Mar 13 2006, 1:46 pm)
|
|
On topic: I guess you could do it with two icon states: one for the head of the beam and one for the tail segments. When the beam spell is cast, the head starts moving and creates a tail segment for each square it moves through. When the beam hits something, you can have a cool pyrotechnic effect, then delete all the beam elements.
Although that works, I prefer the look of a "fireball" - that beam algorithm minus the beam tail.
--Vito