BIS fnc unitCaptureFiring: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Lou Montana moved page BIS fnc UnitCaptureFiring to BIS fnc unitCaptureFiring: Text replacement - "BIS fnc Unit" to "BIS fnc unit")
m (Text replacement - "\[\[BIS[ _]fnc[ _]U([^A-Z])" to "[[BIS_fnc_u$1")
Line 9: Line 9:
| Records weapon fire data of input unit over a specified period of time. Pressing the ESC key, the duration ending, or the unit dying ends the recording.
| Records weapon fire data of input unit over a specified period of time. Pressing the ESC key, the duration ending, or the unit dying ends the recording.


| [unit, duration, startTime] spawn [[BIS_fnc_UnitCaptureFiring]]
| [unit, duration, startTime] spawn [[BIS_fnc_unitCaptureFiring]]


|p1= unit: [[Object]] - Unit to capture weapon fire data from
|p1= unit: [[Object]] - Unit to capture weapon fire data from
Line 21: Line 21:
|exec= spawn
|exec= spawn


|x1= <code>[BIS_Vehicle, 50, 10] [[spawn]] [[BIS_fnc_UnitCaptureFiring]];</code>
|x1= <code>[BIS_Vehicle, 50, 10] [[spawn]] [[BIS_fnc_unitCaptureFiring]];</code>


|x2= <code>[ [2.135,"GAU8","<NULL-object>"], [2.157,"GAU8","<NULL-object>"] ]//Output example</code>
|x2= <code>[ [2.135,"GAU8","<NULL-object>"], [2.157,"GAU8","<NULL-object>"] ]//Output example</code>


| [[BIS_fnc_UnitCaptureSimple]], [[BIS_fnc_UnitPlaySimple]], [[BIS_fnc_UnitPlayFiring]], [[BIS_fnc_UnitCapture]], [[BIS_fnc_UnitPlay]]
| [[BIS_fnc_unitCaptureSimple]], [[BIS_fnc_unitPlaySimple]], [[BIS_fnc_unitPlayFiring]], [[BIS_fnc_unitCapture]], [[BIS_fnc_unitPlay]]
}}
}}



Revision as of 00:22, 28 January 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
spawn
Groups:
Scenes

Syntax

Syntax:
Syntax needed
Parameters:
unit: Object - Unit to capture weapon fire data from
duration: Number - Duration to capture for
startTime: Number - (Optional, default 0) Starting time offset for the frame time
Return Value:
Return value needed

Examples

Example 1:
[BIS_Vehicle, 50, 10] spawn BIS_fnc_unitCaptureFiring;
Example 2:
[ [2.135,"GAU8","<NULL-object>"], [2.157,"GAU8","<NULL-object>"] ]//Output example

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