Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Medical Events

The following are events registered by afl_medical.

Contents

afl_medical_neckTourniquetLocal

Parameters

  1. Patient (OBJECT)
  2. Body Part (STRING)

Usage

Example

The following code raises the event to be handled by AFL.

[
    "afl_medical_neckTourniquetLocal",
    [player, "leftarm"],
    player
] call CBA_fnc_targetEvent;

The following code registers the event to be listened.

// File: XEH_postInit.sqf

[
    "afl_medical_neckTourniquetLocal",
    LINKFUNC(myFunction)
] call CBA_fnc_addEventHandler;