CBA_fnc_turretEvent

Description

Raises a CBA event on the machine where the vehicle’s turret is local.

Parameters

_eventNameType of event to publish.  STRING
_paramsParameters to pass to the event handlers.  <ANY>
_vehicleVehicle to which the turret belongs.  <OBJECT>
_turretPathThe turret to execute on.  Will accept both [] and [-1] for driver’s turret.  ARRAY

Returns

None

Examples

["test", ["turret"], cursorObject, [-1]] call CBA_fnc_turretEvent;

Author

NeilZar

string used by format
Array to read from [Array]
Close