Original Post
im creating homing missiles, and they have targets, so they hold a pointer to their target. however, if their target is later deleted, this is obviously going to cause a problem. is there a programmatic way to determine if a pointer is invalid? ( a pointer != NULL obviously wont work here ). i really want to avoid making the target conscious that it is targeted and then tell the other missiles that its gone... thats a pain in the ass. because if the missile hits something else... or its targeted by multiple missiles... i just dont want to have to deal with that pointer crap. so, anyway i can do this? [Edited by - xSKOTTIEx on August 2, 2005 10:23:32 PM]