BIS fnc unitPlayFiring: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects? in MP|Multiplayer Effects( \("local" or "gl...) |
Lou Montana (talk | contribs) m (Text replacement - " {3,}\|" to " |") |
||
Line 10: | Line 10: | ||
| [unit, data, stateIgnore] spawn [[BIS_fnc_UnitPlayFiring]] | | [unit, data, stateIgnore] spawn [[BIS_fnc_UnitPlayFiring]] | ||
|p1= unit: [[Object]] - Unit to play weapon fire data on | |p1= unit: [[Object]] - Unit to play weapon fire data on | ||
Line 17: | Line 16: | ||
|p3= stateIgnore: [[Boolean]] - (Optional, default [[false]]) Whether to ignore if the Unit is dead and/or cannot move | |p3= stateIgnore: [[Boolean]] - (Optional, default [[false]]) Whether to ignore if the Unit is dead and/or cannot move | ||
| [[Script]] - Script handle | | [[Script]] - Script handle |
Revision as of 23:42, 18 January 2021
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:
_capturedFireData = [[2.135,"GAU8","<NULL-object>"]]; [ BIS_Vehicle, _capturedData, true ] spawn BIS_fnc_UnitPlayFiring;
Additional Information
- See also:
- BIS_fnc_UnitCaptureFiringBIS_fnc_UnitCaptureSimpleBIS_fnc_UnitPlaySimpleBIS_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