ID:139534
 
Code:
    CleanUp() // Deletes all Trackers on board
var/list/Trackers = list() // Define Trackers to be a list
for(var/obj/Tracker/T in world) // Any Tracker on the map
Trackers += T // Add Trackers to list
del(Trackers)


Problem description:
Right now, I know that in the last line, I am deleting the list. But that's not what I want to do. I want to delete the objects IN the list. But I can't figure out what arg I would use to delete the objects in the list (The objects on the map themselves) instead of the list itself. (I'm trying to think of this as my inverted spawn code with no randomization)
couldnt you do that without the Trackers list?

e.g.

    CleanUp() // Deletes all Trackers on board
for(var/obj/Tracker/T in world) // Any Tracker on the map
del T // Delete Tracker


Just a thought.
In response to Darkoro (#1)
I'm an idiot, thanks
In response to Lugia319 (#2)
A better method would be to add the trackers to the list as they're created, so you can just loop over that list instead of looping over the world.
In response to Nadrew (#3)
Well they're all created at once and they're all deleted at once. The game's complete now actually, trying to figure out how to make download work. I keep getting broken URL
In response to Lugia319 (#4)
When they're created and when they're deleted is irrelevant. You are still looping through everything in the world looking for a specific set of objects which you can easily just place into a list.

As for the broken URL, odds are you are trying to host your file on a website that does not allow direct downloads.