BIS fnc unitCapture: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Lou Montana moved page BIS fnc UnitCapture to BIS fnc unitCapture: 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 12: | Line 12: | ||
Array in format [FrameTime, UnitPosition, UnitDirectionVector, UnitUpVector, UnitVelocity] for each frame | Array in format [FrameTime, UnitPosition, UnitDirectionVector, UnitUpVector, UnitVelocity] for each frame | ||
| [unit, duration, FPS, firing, startTime] spawn [[ | | [unit, duration, FPS, firing, startTime] spawn [[BIS_fnc_unitCapture]] | ||
|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]] [[ | |x1= <code>[BIS_Vehicle, 50, 30, true, 10] [[spawn]] [[BIS_fnc_unitCapture]];</code> | ||
| [[ | | [[BIS_fnc_unitCaptureFiring]], [[BIS_fnc_unitCaptureSimple]], [[BIS_fnc_unitPlaySimple]], [[BIS_fnc_unitPlayFiring]], [[BIS_fnc_unitPlay]] | ||
}} | }} | ||
Revision as of 00:22, 28 January 2021
Description
- Description:
- Description needed
- Execution:
- spawn
- Groups:
- Scenes
Syntax
- Syntax:
- Syntax needed
- Parameters:
- unit: Object - Unit to capture movement data from
- duration: Number - 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_unitCapture;
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
- Posted on September 29, 2014 - 21:31 (UTC)
- Benargee
-
Video Tutorial by TheJserver
1.56Part 1: https://www.youtube.com/watch?v=ryB20wQhSr0
1.56Part 2: https://www.youtube.com/watch?v=ePszdYfMRvc
Works exactly the same in Arma 3 to my experience.