ACE3/addons/medical/functions
jonpas 711e1fc026 Fix Underwater interactions (magrepack, loading, refuel, medical legs, dragging) (#5521)
* Fix Magazine Repack underwater - fix #5513
Also prevent common goKneeling function underwater

* Fix loading patients underwater - fix #5515

* Fix load object underwater

* Fix take nozzle on jerry can underwater

* Fix refuel underwater conditions further

* Use isTouchingGround, Make refuel semi-compatible
 reports false if head is out of the water, we want true even if we are not diving

* Less interact exceptions duplication

* Use animationState to determine if unit is swimming, create common function and use it instead of isTouchingGround

* Fix condition

* Support dragging underwater
No carrying due to animation timing issues and other misc things

* Allow Medical Legs SelfActions underwater

* Fix fixPosition function underwater (use getPosATL instead of getPos)

* Fix fixPosition's slope adjustment for non-gravity objects, Do the same for objects without simulation as well
2017-10-01 13:38:11 -05:00
..
fnc_actionCheckBloodPressure.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_actionCheckBloodPressureLocal.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_actionCheckPulse.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_actionCheckPulseLocal.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_actionCheckResponse.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_actionDiagnose.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_actionLoadUnit.sqf Medical & Captive Load Menu Overhaul (#5519) 2017-09-29 22:00:47 +02:00
fnc_actionPlaceInBodyBag.sqf Update common event names to meet new standard 2016-06-03 22:39:43 +01:00
fnc_actionRemoveTourniquet.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_actionUnloadUnit.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_addDamageToUnit.sqf convert log macros to cba versions (#4282) 2016-10-02 12:55:31 +02:00
fnc_addHeartRateAdjustment.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_addLoadPatientActions.sqf Medical & Captive Load Menu Overhaul (#5519) 2017-09-29 22:00:47 +02:00
fnc_addToLog.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_addToTriageCard.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_addUnconsciousCondition.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_addUnloadPatientActions.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_addVitalLoop.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_adjustPainLevel.sqf Change basic medical to use advanced medical injury system 2016-06-13 12:18:56 +02:00
fnc_bodyCleanupLoop.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_canAccessMedicalEquipment.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_canTreat.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_canTreatCached.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_copyDeadBody.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_createLitter.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_determineIfFatal.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_displayPatientInformation.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_displayTriageCard.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_dropDownTriageCard.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_getBloodLoss.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_getBloodPressure.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_getBloodVolumeChange.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_getCardiacOutput.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_getHeartRateChange.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_getTriageStatus.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_getTypeOfDamage.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_getUnconsciousCondition.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_handleBandageOpening.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_handleCollisionDamage.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_handleCreateLitter.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_handleDamage_advanced.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_handleDamage_advancedSetDamage.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_handleDamage_airway.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_handleDamage_caching.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_handleDamage_fractures.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_handleDamage_internalInjuries.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_handleDamage_wounds.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_handleDamage_woundsOld.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_handleDamage.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_handleKilled.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_handleLocal.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_handleUnitVitals.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_hasItem.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_hasItems.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_hasMedicalEnabled.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_hasTourniquetAppliedTo.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_init.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_isBeingCarried.sqf Minor optimizations using private, params, and isEqualType (#4323) 2016-09-04 16:44:22 +02:00
fnc_isBeingDragged.sqf Minor optimizations using private, params, and isEqualType (#4323) 2016-09-04 16:44:22 +02:00
fnc_isInMedicalFacility.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_isInMedicalVehicle.sqf #1259 - Medical Locations Boost Training 2016-01-09 23:54:48 -06:00
fnc_isInStableCondition.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_isMedic.sqf Use getUnitTrait for medics, engineers and EOD (#5246) 2017-06-10 11:41:01 +01:00
fnc_isMedicalVehicle.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_itemCheck.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_litterCleanupLoop.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_medicationEffectLoop.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_modifyMedicalAction.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_moduleAdvancedMedicalSettings.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_moduleAssignMedicalFacility.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_moduleAssignMedicalVehicle.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_moduleAssignMedicRoles.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_moduleBasicMedicalSettings.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_moduleMedicalSettings.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_moduleReviveSettings.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_onMedicationUsage.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_parseConfigForInjuries.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_playInjuredSound.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_reviveStateLoop.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_selectionNameToNumber.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_serverRemoveBody.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_setCardiacArrest.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_setDead.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_setHitPointDamage.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_setStructuralDamage.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_setUnconscious.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_showBloodEffect.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_translateSelections.sqf Cleaned up excessive whitespace 2016-05-03 02:32:44 +02:00
fnc_treatment_failure.sqf Fix Underwater interactions (magrepack, loading, refuel, medical legs, dragging) (#5521) 2017-10-01 13:38:11 -05:00
fnc_treatment_success.sqf Fix Underwater interactions (magrepack, loading, refuel, medical legs, dragging) (#5521) 2017-10-01 13:38:11 -05:00
fnc_treatment.sqf Fix Underwater interactions (magrepack, loading, refuel, medical legs, dragging) (#5521) 2017-10-01 13:38:11 -05:00
fnc_treatmentAdvanced_bandage.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_treatmentAdvanced_bandageLocal.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_treatmentAdvanced_CPR.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_treatmentAdvanced_CPRLocal.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_treatmentAdvanced_fullHeal.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_treatmentAdvanced_fullHealLocal.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_treatmentAdvanced_fullHealTreatmentTime.sqf Change formatting and private keywords in medical 2016-06-13 02:34:56 +02:00
fnc_treatmentAdvanced_medication.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_treatmentAdvanced_medicationLocal.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_treatmentAdvanced_surgicalKit_onProgress.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_treatmentBasic_bloodbag.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_treatmentBasic_bloodbagLocal.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_treatmentBasic_epipen.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_treatmentBasic_morphine.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_treatmentBasic_morphineLocal.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_treatmentIV.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_treatmentIVLocal.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_treatmentTourniquet.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_treatmentTourniquetLocal.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_unconsciousPFH.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_useItem.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_useItems.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
fnc_vitalLoop.sqf Conform function headers to coding guidelines (#5255) 2017-06-08 15:31:51 +02:00
script_component.hpp Added initial port of CSE medical (CMS) 2015-01-18 22:16:35 +01:00