Hallo NN Community,
Ich habe mal eine frage bezüglich ACE3 und den Medic Ersthelfer.
Und zwar wie kann ich es hin bekommen das der Ersthelfer NPC auch ACE wunden heilen kann wenn kein Medic im Dienst ist.
MfG: Hahahoho
Hallo NN Community,
Ich habe mal eine frage bezüglich ACE3 und den Medic Ersthelfer.
Und zwar wie kann ich es hin bekommen das der Ersthelfer NPC auch ACE wunden heilen kann wenn kein Medic im Dienst ist.
MfG: Hahahoho
in die init des npc einfach
this addAction["Heilen",{[player,player] call ace_medical_fnc_treatmentAdvanced_fullHealLocal;}];
Cool danke das hat funktioniert kann man das noch so machen das man was bezahlen muss
#include "..\..\script_macros.hpp"
/*
File: fn_healHospital.sqf
Author: Bryan "Tonic" Boardwine
Description:
Doesn't matter, will be revised later.
*/
#include "\z\ace\addons\medical\script_component.hpp"
if(CASH < 100) exitWith {hint format[localize "STR_NOTF_HS_NoCash",100];};
titleText[localize "STR_NOTF_HS_Healing","PLAIN"];
uiSleep 8;
if(player distance (_this select 0) > 5) exitWith {titleText[localize "STR_NOTF_HS_ToFar","PLAIN"]};
titleText[localize "STR_NOTF_HS_Healed","PLAIN"];
player setVariable [QGVAR(pain), 0, true];
player setVariable [QGVAR(morphine), 0, true];
player setVariable [QGVAR(bloodVolume), 100, true];
player setVariable ["ACE_isUnconscious", false, true];
player setvariable [QGVAR(tourniquets), [0,0,0,0,0,0], true];
player setvariable [QGVAR(openWounds), [], true];
player setvariable [QGVAR(bandagedWounds), [], true];
player setVariable [QGVAR(internalWounds), [], true];
player setvariable [QGVAR(lastUniqueWoundID), 1, true];
player setVariable [QGVAR(heartRate), 80];
player setvariable [QGVAR(heartRateAdjustments), []];
player setvariable [QGVAR(bloodPressure), [80, 120]];
player setVariable [QGVAR(peripheralResistance), 100];
player setVariable [QGVAR(fractures), [], true];
player setvariable [QGVAR(triageLevel), 0, true];
player setvariable [QGVAR(triageCard), [], true];
player setVariable [QGVAR(salineIVVolume), 0, true];
player setVariable [QGVAR(plasmaIVVolume), 0, true];
player setVariable [QGVAR(bloodIVVolume), 0, true];
player setvariable [QGVAR(bodyPartStatus), [0,0,0,0,0,0], true];
player setvariable [QGVAR(airwayStatus), 100];
player setVariable [QGVAR(airwayOccluded), false];
player setvariable [QGVAR(airwayCollapsed), false];
player setvariable [QGVAR(addedToUnitLoop), false, true];
player setvariable [QGVAR(inCardiacArrest), false, true];
player setvariable [QGVAR(hasLostBlood), 0, true];
player setvariable [QGVAR(isBleeding), false, true];
player setvariable [QGVAR(hasPain), false, true];
player setvariable [QGVAR(painSuppress), 0, true];
player setDamage 0;
SUB(CASH,100);
Alles anzeigen