Blockland Forums > Modification Help
Explosion: Continuous shockwave
takato14:
Bumping stuff.
Gadgethm:
From what I see in your original code, you say
--- Code: ---if(!%times == 8)
--- End code ---
From what I can tell, you meant $times, not %times.
Also, I would say
--- Code: ---if($times != 8)
--- End code ---
rather than
--- Code: ---if(!$times == 8)
--- End code ---
I'm not sure how much of a difference that would make, if any, but it's easier to read and understand.
EDIT: Also, instead of saying
--- Code: ---$times = $times +1;
--- End code ---
it makes more sense to use the simple
--- Code: ---$times++;
--- End code ---
takato14:
That was fixed a long time ago; I didnt update that post. The LaunchWave function isnt getting called; I havent tried the change yet.
Gadgethm:
I don't suppose we could see an updated code? I'm not sure exactly what you have left to fix.
takato14:
o_o
It works perfectly. I had it all right except for actually calling the LaunchWave function. Thanks for all of the help, guys! :D