BIS fnc unitPlayFiring: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|seealso= ([^ ]+)(\]\]|\}\}), *(\[\[|\{\{)" to "|seealso= $1$2 $3") |
Lou Montana (talk | contribs) m (Text replacement - "\|seealso= ([^ ]+)(\]\]|\}\}), *(\[\[|\{\{)" to "|seealso= $1$2 $3") |
||
Line 29: | Line 29: | ||
[ BIS_Vehicle, _capturedData, [[true ]] ] [[spawn]] [[BIS_fnc_unitPlayFiring]];</code> | [ BIS_Vehicle, _capturedData, [[true ]] ] [[spawn]] [[BIS_fnc_unitPlayFiring]];</code> | ||
|seealso= [[BIS_fnc_unitCaptureFiring]] [[BIS_fnc_unitCaptureSimple]] [[BIS_fnc_unitPlaySimple]] | |seealso= [[BIS_fnc_unitCaptureFiring]] [[BIS_fnc_unitCaptureSimple]] [[BIS_fnc_unitPlaySimple]] [[BIS_fnc_unitCapture]], [[BIS_fnc_unitPlay]] | ||
}} | }} |
Revision as of 13:01, 1 July 2022
Description
Syntax
- Syntax:
- [unit, data, stateIgnore] spawn BIS_fnc_unitPlayFiring
- Parameters:
- unit: Object - Unit to play weapon fire data on
- data: Array - Firing data to use BIS_fnc_unitCaptureFiring
- stateIgnore: Boolean - (Optional, default false) Whether to ignore if the Unit is dead and/or cannot move
- Return Value:
- Script - Script handle
Examples
- Example 1:
private _capturedFireData = [[2.135,"GAU8","<NULL-object>"]]; [ BIS_Vehicle, _capturedData, true ] spawn BIS_fnc_unitPlayFiring;
Additional Information
- See also:
- BIS_fnc_unitCaptureFiring BIS_fnc_unitCaptureSimple BIS_fnc_unitPlaySimple BIS_fnc_unitCaptureBIS_fnc_unitPlay
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