BIS fnc setCuratorCamera: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| arma3 | | arma3 | ||
|1.16 | |1.16 | ||
|gr1 = Curator | |gr1 = Curator | ||
|Move curator camera to a position and direction. Finished when animation ends. | |Move curator camera to a position and direction. Finished when animation ends. | ||
| [camPos,targetPos,time] spawn [[BIS_fnc_setCuratorCamera]] | | [camPos,targetPos,time] spawn [[BIS_fnc_setCuratorCamera]] | ||
|p1=camPos: [[Position]] - (Optional, default [[getPosATL]] [[curatorCamera]]) Position, for supported types see [[BIS_fnc_position]] | |p1=camPos: [[Position]] - (Optional, default [[getPosATL]] [[curatorCamera]]) Position, for supported types see [[BIS_fnc_position]] | ||
|p2=targetPos: [[Array]], [[Position]] or [[Object]] - (Optional, default [[vectorDir]] [[curatorCamera]]) Vector dir or target object/position | |p2=targetPos: [[Array]], [[Position]] or [[Object]] - (Optional, default [[vectorDir]] [[curatorCamera]]) Vector dir or target object/position | ||
|p3=time: [[Number]] or [[Boolean]] - (Optional, default 0) Commit time or [[true]] to calculate time automatically | |p3=time: [[Number]] or [[Boolean]] - (Optional, default 0) Commit time or [[true]] to calculate time automatically | ||
|exec= spawn |= Executio | |exec= spawn |= Executio | ||
| [[Boolean]] [[true]] when done | | [[Boolean]] [[true]] when done | ||
|x1= <code>[nil,player,5] [[spawn]] [[BIS_fnc_setCuratorCamera]];</code> | |x1= <code>[nil,player,5] [[spawn]] [[BIS_fnc_setCuratorCamera]];</code> | ||
| [[Curator]],[[curatorCamera]] | | [[Curator]],[[curatorCamera]] | ||
}} | }} | ||
Revision as of 23:46, 17 January 2021
Description
- Description:
- Move curator camera to a position and direction. Finished when animation ends.
- Execution:
- spawn
- Groups:
- Curator
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