Did you look up "listremove" ?
For instance if I have:
global foodlist:TList = createlist()
for i = 0 to 400
f:food = new food
listaddlast foodlist,(f)
if keyhit(KEY_SPACE)
listremove foodlist,(f)
The above wont compile obvisouly and has missing bits but it shows how to remove an object from a list. Hope that helps.
For instance if I have:
global foodlist:TList = createlist()
for i = 0 to 400
f:food = new food
listaddlast foodlist,(f)
if keyhit(KEY_SPACE)
listremove foodlist,(f)
The above wont compile obvisouly and has missing bits but it shows how to remove an object from a list. Hope that helps.