BIS fnc effectFiredRifle: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>([^<]*)\[\[[^|]+\| *([a-zA-Z= _]+) *\]\]([^<]*)<\/code>" to "<code>$1$2$3</code>") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
Line 24: | Line 24: | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= < | |x1= <sqf>unit addEventHandler ["Fired", | ||
{ | { | ||
_this call BIS_fnc_effectFiredRifle; | _this call BIS_fnc_effectFiredRifle; | ||
}];</ | }];</sqf> | ||
|seealso= [[addEventHandler]] [[Arma_3:_Event_Handlers#Fired | Fired Event Handler]] | |seealso= [[addEventHandler]] [[Arma_3:_Event_Handlers#Fired | Fired Event Handler]] | ||
}} | }} |
Revision as of 11:31, 13 July 2022
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:
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