EventIn Handling - shutdown()
shutdown( ) is invoked when the corresponding Script node is deleted or when the world containing the Script node is unloaded or replaced by another world.
The shutdown( ) function has no parameters.
Events generated from shutdown( ) are given the timestamp of when the Script node was deleted.