BIS fnc effectFiredRifle: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3>" to "") |
m (Text replacement - "<!--|exec= server|=-->" to "") |
||
Line 5: | Line 5: | ||
|version1= 1.00 | |version1= 1.00 | ||
<!--|arg= local--> | <!--|arg= local--> |
Revision as of 15:05, 18 January 2021
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