In this case, I need to delete each one slowly.
Del()
for(var/i=0;i<trails.len;i++)//trails is defined as trails[]=new list()
world<<"deleting trail number[i]"
var/obj/O=trail[i]
// del(O)
world<<"deleted trail number[i]"
sleep(sleeptime)//amount to sleep before deleting next obj
..()
here is the code
the Del() proc is acting odd, meaning var/obj/O is giving me an "index out of bounds error", and it keeps outputing deleting trail number 0, and this is a Del() under an obj proc. I would appreciate help on this, thanks.
~~Coolroman123~~