I have this code, for running through the effect radius of a explosion and doing the explody things in a sequence so that the explosion builds out. It doesn't work though. (can't run procs on everything in a list at the same time)
Is there any way anybody could think of that I could use to run each bit of the radius at the same time? For loops are too slow, they result in a effect where the explosion spirals.
This is my code:
for(var/i=1 , i<=a,i++)
turfs=getring(x,y,z,i)
turfs.overlays+=/obj/explosion
turfs.Explode(power)
dealtwith.Add(turfs)
power--
turfs=list()
I know it produces bugs, but I don't know any other way I could use to run everything at the same time.
Copyright © 2025 BYOND Software.
All rights reserved.
Lummox JR