Functions

OCAP_recorder_fnc_getWeaponDisplayData

Description

Used to populate OCAP_lastFired on units in OCAP_recorder_fnc_eh_firedMan.

Parameters

_weaponWeapon class name [String]
_muzzleMuzzle class name [String]
_magazineMagazine class name [String]
_ammoAmmo class name [String]

Returns

[Array]

0Muzzle display name [String]
1Magazine display name [String]

Examples

([_weapon, _muzzle, _magazine, _ammo] call FUNC(getWeaponDisplayData)) params ["_muzzleDisp", "_magDisp"];

Public

No

Author

IndigoFox

Indicates a formatted string of the last weapon and magazine type fired by the unit.
Tracks bullet and non-bullet projectiles.
Close