This has been asked for time and time again. I came across the need for it several times, including when writing a homing missile system. There may be several missiles following one enemy, but when the enemy is destroyed the other missiles needed to know. The best way I've found round the lack of this command is to encapsulate all entities into type structures, this way you can delete the type and all references to that type now end up as NULL.