BIS_fnc_effectFiredRifle

From Bohemia Interactive Community
Revision as of 10:43, 11 January 2020 by R3vo (talk | contribs) (page filled)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Used to add an effect to fired bullets. Should be executed from Fired Event Handler.
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
[unit, nil, nil, nil, ammoType] call BIS_fnc_effectFiredRifle
Parameters:
unit: Object - The unit, the effect should be added to
nil: Nothing
nil: Nothing
nil: Nothing
ammoType: String - The type of ammo the effect should be triggered for
Return Value:
Nothing

Examples

Example 1:
this addEventHandler ["Fired", { _this call BIS_fnc_effectFiredRifle; }];

Additional Information

See also:
addEventHandler Fired Event Handler

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section