How do I find unique object ids or do I need to?

SkunkHunt
02 Apr 2012, 08:11I have an object called "pebbles"
Whenever I use pebbles it creates an object called "pebble"
When I type "use pebble on pebbles" which is my attempt to add the pebble back into the pile...
I want the pebble I'm adding to be destroyed.
I try using the destroy function and it can't find the pebble I'm looking for.
Whenever I use pebbles it creates an object called "pebble"
When I type "use pebble on pebbles" which is my attempt to add the pebble back into the pile...
I want the pebble I'm adding to be destroyed.
I try using the destroy function and it can't find the pebble I'm looking for.

Pertex
02 Apr 2012, 10:25could you post your gamefile here?
sgreig
02 Apr 2012, 17:08Yeah, it would be easier to see the code to be able to figure out what's wrong.