var/obj/explosion1/O = new(src)
var/obj/explosion2/O2 = new(src)
var/obj/explosion3/O3 = new(src)
sleep(50)
del(O)
del(O2)
del(O3)
Is there a way or could there be a way to make simple roots like:
root/explosionroot //have a fixed root thing(like we have objs) and then be able to define a certain root(like we can do obj/myobj)
var/obj/explosion1/O = new(src)
var/obj/explosion2/O2 = new(src)
var/obj/explosion3/O3 = new(src)
sleep(50)
del(root/explosionroot)
Which should delete all atoms inside explosionroot.
I'm really not sure if this would work, but something along the lines would.