Skip to content

KAM Injuries code snippets

MiszczuZPolski edited this page Apr 21, 2023 · 2 revisions

This page will give you a few lines of code to set exact injuries to your patients(These are also available as Zeus Modules). If you want to give someone some KAM Injury or something else, put one of these snippets inside the unit init field or change this to some variable name which will said unit have publicly assigned and execute it:

For Obstruction:

_this setVariable ["kat_airway_obstruction", true, true];

For Occlusion:

_this setVariable ["kat_airway_occluded", true, true];

For Pneumothorax:

_this setVariable ["kat_breathing_pneumothorax", true, true];
[_this, 0.5] call ace_medical_status_fnc_adjustPainLevel;
[_this] call kat_breathing_fnc_handleBreathing;

For Hemopneumothorax:

_this setVariable ["kat_breathing_hemopneumothorax", true, true];
[_this, 0.7] call ace_medical_status_fnc_adjustPainLevel;
[_this] call kat_breathing_fnc_handleBreathing;

For Tension Pneumothorax:

_this setVariable ["kat_breathing_tensionpneumothorax", true, true];
[_this, 0.7] call ace_medical_status_fnc_adjustPainLevel;
[_this] call kat_breathing_fnc_handleBreathing;
Clone this wiki locally