BIS fnc setCuratorCamera: Difference between revisions
Jump to navigation
Jump to search
m (Generated by BIS_fnc_exportFunctionsToWiki) |
m (call -> spawn) |
||
(5 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{Function|Comments= | |||
{{Function|= | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| arma3 | | | arma3 |Game name= | ||
|1. | |1.16|Game version= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | |Move curator camera to a position and direction. Finished when animation ends.|Description= | ||
____________________________________________________________________________________________ | |||
| [camPos,targetPos,time] spawn [[BIS_fnc_setCuratorCamera]] |Syntax= | |||
|p1=camPos: [[Position]] - (Optional, default [[getPosATL]] [[curatorCamera]]) Position, for supported types see [[BIS_fnc_position]]|Parameter 1= | |||
|p2=targetPos: [[Array]], [[Position]] or [[Object]] - (Optional, default [[vectorDir]] [[curatorCamera]]) Vector dir or target object/position|Parameter 2= | |||
| | |p3=time: [[Number]] or [[Boolean]] - (Optional, default 0) Commit time or [[true]] to calculate time automatically|Parameter 3= | ||
| | |exec= spawn |= Executio | ||
| | | | [[Boolean]] [[True]] when done|Return value= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code></code> |= | |x1= <code>[nil,player,5] [[spawn]] [[BIS_fnc_setCuratorCamera]];</code>|Example 1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | | [[Curator]],[[curatorCamera]] |See also= | ||
}} | }} | ||
Revision as of 16:56, 22 June 2018
Description
- Description:
- Move curator camera to a position and direction. Finished when animation ends.
- Execution:
- spawn
- Groups:
- Uncategorised
Syntax
- Syntax:
- [camPos,targetPos,time] spawn BIS_fnc_setCuratorCamera
- Parameters:
- camPos: Position - (Optional, default getPosATL curatorCamera) Position, for supported types see BIS_fnc_position
- targetPos: Array, Position or Object - (Optional, default vectorDir curatorCamera) Vector dir or target object/position
- time: Number or Boolean - (Optional, default 0) Commit time or true to calculate time automatically
- Return Value:
- Boolean True when done
Examples
- Example 1:
[nil,player,5] spawn BIS_fnc_setCuratorCamera;
Additional Information
- See also:
- CuratorcuratorCamera
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