Skip to content

Instantly share code, notes, and snippets.

View Dorbedo's full-sized avatar

Thomas Müller Dorbedo

View GitHub Profile
@Dorbedo
Dorbedo / initplayerlocal.sqf
Created July 29, 2018 08:38
ACE-medical CPR revive
["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;
@Dorbedo
Dorbedo / XEH_PREINIT.sqf
Last active July 16, 2023 19:40
Kerberos-Datenbank Anbindung
/*
* Author: Dorbedo
*
* Description:
* preinit for component database
*
*/
#include "script_component.hpp"
ADDON = false;
@Dorbedo
Dorbedo / fnc_garage.sqf
Created August 10, 2016 11:27
Arma 3 - VirtualGarage Aufruf
/*
* 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