BIS fnc unitCaptureSimple: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Lou Montana moved page BIS fnc UnitCaptureSimple to BIS fnc unitCaptureSimple: Text replacement - "BIS fnc Unit" to "BIS fnc unit")
m (Text replacement - "\[\[BIS[ _]fnc[ _]U([^A-Z])" to "[[BIS_fnc_u$1")
Line 12: Line 12:
Array in format [FrameTime, UnitPosition, UnitDirection] for each frame
Array in format [FrameTime, UnitPosition, UnitDirection] for each frame


| [unit, duration, FPS, firing, startTime] spawn [[BIS_fnc_UnitCaptureSimple]]
| [unit, duration, FPS, firing, startTime] spawn [[BIS_fnc_unitCaptureSimple]]


|p1= unit: [[Object]] - Unit to capture movement data from
|p1= unit: [[Object]] - Unit to capture movement data from
Line 28: Line 28:
|exec= spawn
|exec= spawn


|x1= <code>[BIS_Vehicle, 50, 30, true, 10] [[spawn]] [[BIS_fnc_UnitCaptureSimple]];</code>
|x1= <code>[BIS_Vehicle, 50, 30, true, 10] [[spawn]] [[BIS_fnc_unitCaptureSimple]];</code>


| [[BIS_fnc_UnitCaptureFiring]], [[BIS_fnc_UnitPlaySimple]], [[BIS_fnc_UnitPlayFiring]], [[BIS_fnc_UnitCapture]], [[BIS_fnc_UnitPlay]]
| [[BIS_fnc_unitCaptureFiring]], [[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 movement data from
duration: Array - Duration to capture for
FPS: Number - (Optional, default 20) Frames recorded per second (default 20). Limit is 1 - 100
Firing: Boolean - (Optional, default false) If true, will record the input unit's weapon fire data as well
startTime: Number - (Optional, default 0) Starting time offset for the frame time
Return Value:
Return value needed

Examples

Example 1:
[BIS_Vehicle, 50, 30, true, 10] spawn BIS_fnc_unitCaptureSimple;

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