Macro Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
A
 ADDON
 ARR2
B
 BOOL
C
 COMPONENT
 COMPONENT_BEAUTIFIED
 COMPONENT_NAME
L
 LOG
P
 PREFIX
S
 SHOULDSAVEEVENTS
 SYSCHAT
V
 VERSION
 VERSION_AR
 VERSION_REQUIRED
 VERSION_STR
PREFIX_COMPONENT
#define ARR2(_arg1,
_arg2) [_arg1, _arg2]
Resolves arguments to array, used for entries to LOG that requires array input.
#define BOOL(_cond) ([0,1] select (_cond))
Forces a true/false return of input.
#define COMPONENT extension
#define COMPONENT_BEAUTIFIED Extension
#define COMPONENT_NAME QUOTE(PREFIX COMPONENT_BEAUTIFIED)
#define OCAPEXTLOG(_args) [":LOG:", _args] call EFUNC(extension,sendData)
Used for logging messages to the extension (ocap-ext log file).
#define PREFIX OCAP
#define SHOULDSAVEEVENTS (
   (missionNamespace getVariable [QGVAR(recording), false]) && missionNamespace getVariable [QGVAR(startTime), -1] -1
)
Used to determine if events should currently be saved based on OCAP_recorder_recording and OCAP_recorder_startTime.
#define SYSCHAT remoteExec ["systemChat", [0, -2] select isDedicated]
Used for debug purposes to send a string to all clients with interfaces.
#define VERSION 2.0
#define VERSION_AR 2,0,0
#define VERSION_REQUIRED 2.10
#define VERSION_STR 2.0.0
Close