This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
["ace_medical_treatmentAdvanced_CPRLocal",{ | |
params ["_caller","_target"]; | |
if ((_target getVariable ["Ace_medical_inReviveState",false])&&{(random 1) >= 0.80}) then { | |
_target setVariable ["Ace_medical_inCardiacArrest",true,true]; | |
_target setVariable ["Ace_medical_inReviveState",false,true]; | |
}; | |
}] call CBA_fnc_addEventHandler; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Author: Dorbedo | |
* | |
* Description: | |
* preinit for component database | |
* | |
*/ | |
#include "script_component.hpp" | |
ADDON = false; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Author: Dorbedo | |
* | |
* Macht die Garage fit für den Multiplayer | |
* | |
* Requirements | |
* Mapmarker mit dem Objektnamen "DORB_Garagenplatz" | |
* | |
* Aufruf via [] execVM "garage.sqf" | |
* alternativ als compilierte Funktion mittels call |