fnc_init.sqf

Summary
fnc_init.sqf
Functions
OCAP_recorder_fnc_initInitializes event listeners, event handlers, gathers OCAP_version and OCAP_extension_version, and kicks off waiters for the auto-start conditions if settings are configured to enable it.
Variables
OCAP_recorder_recordingGlobal variable that represents whether or not recording is active [Bool]
OCAP_recorder_captureFrameNoGlobal variable that represents the current frame number [Number]
OCAP_recorder_nextIdGlobal variable that represents the next available id to assign to a unit or vehicle [Number]
OCAP_recorder_frameCaptureDelayGlobal variable that represents the delay between frame captures in seconds.
OCAP_recorder_autoStartGlobal variable that represents whether or not recording should automatically start.
OCAP_recorder_minMissionTimeGlobal variable that represents the minimum mission time in seconds to qualify for saving.
OCAP_versionGlobal variable that represents the version of OCAP addon being used [String]
OCAP_extension_versionGlobal variable that represents the version of OCAP extension being used [String]

Functions

OCAP_recorder_fnc_init

Description

Initializes event listeners, event handlers, gathers OCAP_version and OCAP_extension_version, and kicks off waiters for the auto-start conditions if settings are configured to enable it.

Parameters

None

Returns

Nothing

Example

call OCAP_recorder_fnc_init

Public

No

Author

Dell, Zealot, IndigoFox

Variables

OCAP_recorder_recording

Global variable that represents whether or not recording is active [Bool]

OCAP_recorder_captureFrameNo

Global variable that represents the current frame number [Number]

OCAP_recorder_nextId

Global variable that represents the next available id to assign to a unit or vehicle [Number]

OCAP_recorder_frameCaptureDelay

Global variable that represents the delay between frame captures in seconds.  Gathered from CBA settings at init.  [Number]

OCAP_recorder_autoStart

Global variable that represents whether or not recording should automatically start.  Gathered from CBA settings at init.  [Bool]

OCAP_recorder_minMissionTime

Global variable that represents the minimum mission time in seconds to qualify for saving.  Can be overridden by using the <ocap_exportData> CBA event.  Gathered from CBA settings at init.  [Number]

OCAP_version

Global variable that represents the version of OCAP addon being used [String]

OCAP_extension_version

Global variable that represents the version of OCAP extension being used [String]

Global variable that represents the version of OCAP addon being used [String]
Global variable that represents the version of OCAP extension being used [String]
Close