BIS fnc unitPlayFiring: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Lou Montana moved page BIS fnc UnitPlayFiring to BIS fnc unitPlayFiring: Text replacement - "BIS fnc Unit" to "BIS fnc unit") |
Lou Montana (talk | contribs) m (Text replacement - "\[\[BIS[ _]fnc[ _]U([^A-Z])" to "[[BIS_fnc_u$1") |
||
Line 9: | Line 9: | ||
| Plays back input weapon fire data on input unit. | | Plays back input weapon fire data on input unit. | ||
| [unit, data, stateIgnore] spawn [[ | | [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 | ||
|p2= data: [[Array]] - Firing data to use [[ | |p2= data: [[Array]] - Firing data to use [[BIS_fnc_unitCaptureFiring]] | ||
|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 | ||
Line 22: | Line 22: | ||
|x1= <code>_capturedFireData = [[2.135,"GAU8","<NULL-object>"]]; | |x1= <code>_capturedFireData = [[2.135,"GAU8","<NULL-object>"]]; | ||
[ BIS_Vehicle, _capturedData, [[true ]] ] [[spawn]] [[ | [ BIS_Vehicle, _capturedData, [[true ]] ] [[spawn]] [[BIS_fnc_unitPlayFiring]];</code> | ||
| [[ | | [[BIS_fnc_unitCaptureFiring]], [[BIS_fnc_unitCaptureSimple]], [[BIS_fnc_unitPlaySimple]], [[BIS_fnc_unitCapture]], [[BIS_fnc_unitPlay]] | ||
}} | }} | ||
Revision as of 01:22, 28 January 2021
Description
- Description:
- Description needed
- Execution:
- spawn
- Groups:
- Scenes
Syntax
- Syntax:
- Syntax needed
- 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:
- Return value needed
Examples
- Example 1:
_capturedFireData = [[2.135,"GAU8","<NULL-object>"]]; [ BIS_Vehicle, _capturedData, true ] spawn BIS_fnc_unitPlayFiring;
Additional Information
- See also:
- See also needed
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