"ghost" space objects and not raising errors
- Betelgeuse
- Fleet Officer
- Posts: 1920
- Joined: Sun Mar 05, 2006 6:31 am
When you delete a space object with objDestroy you can still access some things about it without it raising errors. This is very dangerous as this could cause crashes if we don't know if we are working with a valid space object.
Crying is not a proper retort!
- Aury
- Fleet Admiral
- Posts: 5526
- Joined: Tue Feb 05, 2008 1:10 am
- Location: At the VSS Shipyards in the frontier, designing new ships.
Betelgeuse wrote:When you delete a space object with objDestroy you can still access some things about it without it raising errors. This is very dangerous as this could cause crashes if we don't know if we are working with a valid space object.

uh ok... that can be rather dangerous (especially since that's the method by which I remove my turrets when you repack them)
(shpOrder gPlayership 'barrelRoll)
<New tutorials, modding resources, and official extension stuff coming to this space soon!>
<New tutorials, modding resources, and official extension stuff coming to this space soon!>
- Betelgeuse
- Fleet Officer
- Posts: 1920
- Joined: Sun Mar 05, 2006 6:31 am
also found adding timers to destroyed objects causes hard crashes
Crying is not a proper retort!