fnc_getAmmoMarkerData.sqf

Summary
fnc_getAmmoMarkerData.sqf
Functions
OCAP_recorder_fnc_getAmmoMarkerDataThis function will intake information from <OCAP_EH_FiredMan> and return data used to format a marker for entry into the timeline.

Functions

OCAP_recorder_fnc_getAmmoMarkerData

Description

This function will intake information from <OCAP_EH_FiredMan> and return data used to format a marker for entry into the timeline.

Parameters

_weaponThe weapon used [String]
_muzzleThe muzzle used [String]
_ammoThe ammo used [String]
_magazineThe magazine used [String]
_projectileThe projectile object [Object]
_vehicleThe vehicle the weapon is mounted on, if any [Object]
_ammoSimTypeThe ammo simulation type [String]

Returns

[_markTextLocal,_markName,_markColor,_markerType]The marker data [Array]

Examples

([_weapon, _muzzle, _ammo, _magazine, _projectile, _vehicle, _ammoSimType] call FUNC(getAmmoMarkerData)) params ["_markTextLocal","_markName","_markColor","_markerType"];

Public

No

Author

IndigoFox

Close