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 Simulator Functions

This chapter lists public medical simulator functions that are available to developers.

Contents

afl_medicalsim_fnc_addSimMenu

Description

Adds a medical sim menu to an eden entity.

Parameters

  1. Eden entity <OBJECT>
  2. Stretchers <ARRAY>
    1. Stretcher <ARRAY>
      1. Stretcher Entity <OBJECT>
      2. Display Name <STRING>

Returns

Nothing.

Usage

Example

[
    _console,
    [
      [_stretcher, "Stretcher 1"],
      [_stretcher, "Stretcher 2"]
    ]
] call afl_medicalsim_fnc_addSimMenu;