rewrote vect3d, don't need _vect3d now that I've got rid of the stupid union thing.
moved script calls to ScriptingEvents