-------------------------------------------------------------------------------- -- Handler.......... : onMouseButtonDown -- Author........... : -- Description...... : -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- function FPSCamera.onMouseButtonDown ( nButton, nPointX, nPointY, nRayPntX, nRayPntY, nRayPntZ, nRayDirX, nRayDirY, nRayDirZ ) -------------------------------------------------------------------------------- if ( this.bCaptureInput ( ) ) then if ( this.bCaptureInput ( ) ) then this.sendEvent ( "onWeaponShoot" ) end end -------------------------------------------------------------------------------- end --------------------------------------------------------------------------------