trigger OnAttach() { debugSpeakMsg( self, "attached" ); location destLoc = new location( getLocation( self )); destLoc.x = 0; destLoc.z = 0; pathTo( self, destLoc ); return SCRIPT_CONTINUE; }