-------------------------------------------------------------------------------- -- Handler.......... : onMouseButtonDown -- Author........... : -- Description...... : -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- function OSVMain.onMouseButtonDown ( nButton, nPointX, nPointY, nRayPntX, nRayPntY, nRayPntZ, nRayDirX, nRayDirY, nRayDirZ ) -------------------------------------------------------------------------------- if ( hud.getUnderCursorComponent ( this.getUser ( ) ) == nil ) then this.bMouseButtonDown ( true ) --hud.setCursorVisible ( this.getUser ( ), false ) end -------------------------------------------------------------------------------- end --------------------------------------------------------------------------------