fnc_projectileMonitors.sqf

Summary
fnc_projectileMonitors.sqf
Functions
OCAP_recorder_fnc_projectileMonitorsThis initializes projectile monitoring for the purposes of moving non-bullet projectile markers across the map during playback as well as to display them on the in-game map while OCAP_isDebug is true.
Variables
OCAP_recorder_liveDebugBulletsUsed by clients to draw bullet lines.
OCAP_recorder_liveDebugMagIconsUsed by clients to draw magazine icons of non-bullet projectiles.

Functions

OCAP_recorder_fnc_projectileMonitors

Description

This initializes projectile monitoring for the purposes of moving non-bullet projectile markers across the map during playback as well as to display them on the in-game map while OCAP_isDebug is true.

On clients, it will create a “Draw” UI event handler to display both fire-lines representing bullets and markers representing non-bullet projectiles.  It will also create an event handler used by the server in OCAP_recorder_fnc_eh_firedMan to integrate new projectiles to the array being procesed by the “Draw” handler.

On the server, it will initialize <OCAP_recorder_liveMissiles> and <OCAP_recorder_liveGrenades>.  These are watch arrays that are used to track the position of non-bullet projectiles and update the extension with their positions as they travel.  This causes the effect of a ‘moving marker’ during playback.

Parameters

None

Returns

Nothing

Example

call FUNC(projectileMonitors);

Public

No

Author

IndigoFox

Variables

OCAP_recorder_liveDebugBullets

Used by clients to draw bullet lines.  Entered via OCAP_recorder_fnc_eh_firedMan and managed in ??

OCAP_recorder_liveDebugMagIcons

Used by clients to draw magazine icons of non-bullet projectiles.  Entered via OCAP_recorder_fnc_eh_firedMan and managed in ??

Enables increased logging of addon actions.
Tracks bullet and non-bullet projectiles.
Close