BIS fnc setCuratorCamera: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|gr1= Curator \|([^d])" to "|gr1= Curator |descr= $1")
m (Some wiki formatting)
Line 8: Line 8:
|descr= Move curator camera to a position and direction. Finished when animation ends.
|descr= Move curator camera to a position and direction. Finished when animation ends.


|s1=[camPos,targetPos,time] spawn [[BIS_fnc_setCuratorCamera]]
|s1= [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
Line 22: Line 22:
|x1= <code>[nil,player,5] [[spawn]] [[BIS_fnc_setCuratorCamera]];</code>
|x1= <code>[nil,player,5] [[spawn]] [[BIS_fnc_setCuratorCamera]];</code>


|seealso= [[Arma 3: Curator]],[[curatorCamera]]
|seealso= [[Arma 3: Curator]], [[curatorCamera]]
}}
}}
[[Category:{{Name|arma3}}: Functions|{{uc:setCuratorCamera}}]]

Revision as of 19:56, 9 June 2021

Hover & click on the images for description

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:
Arma 3: 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