Didn't know exactly where to post this, so I went here since it's about a bug in BC.
Could be a good idea for Mleo to try to fix in his DiamondBC lol, or Defiant in KM... Dunno. Anyway, it's good to know so I'm posting this to warn all scripters here.
I was in-game, at the console creating a torpedo T and attaching it to a obj P (P.AttachObject(T)), trying out different values for the torpedo to see the glow and all. When I wanted to delete T, I used:
T.SetLifetime(0)
P.DetachObject(T)
To properly delete T at that moment.
One time I did that, then I closed and reopened the console to see if T had really vanished, and it did like it should, and then I typed and pressed enter:
r = T.GetRadius()
To get the torp's radius, which I wanted to check something out. However when I pressed enter to get the radius, BAM!
Crash to desktop.