BIS fnc effectFiredRifle: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category\:Function Group\: Effects(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\] " to "")
m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl>" to "")
Line 40: Line 40:
}}
}}


<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>


<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Functions|{{uc:effectFiredRifle}}]]
[[Category:Functions|{{uc:effectFiredRifle}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:effectFiredRifle}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:effectFiredRifle}}]]

Revision as of 06:14, 17 January 2021

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:
Effects

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:
unit 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


Bottom Section