Anyways, I don't exactly need to know how to do something, more so I just have a question about DM.
Basically, here's the deal. In this project I'm working on I completely clear a list using
listVar = list()
Now, previously this list consisted of objs and is cleared every time the player is killed. My question is, if I have no variables linking to the objs that were cleared, do they still exist?
If so, would it be more efficient to loop through the list and del() everyone one individually? Is there a max number of objs allowed that could be reasonably reached and would therefore need to del() them all or end up with a crashed game?
Thanks
Yeah, they'll still exist somewhere.
You'll probably be better off del'ing them, in this case. Normally, though, I wouldn't recommend it, as 'del' forces DS to hunt down all of the references and nullify them, but /obj and /mob are special cases.
65535, but the chances of you reaching that are a bit unlikely.