BIS fnc setCuratorCamera: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "<code>(\[[a-zA-Z0-9_, ]*\] )?\[\[(call|spawn)\]\] \[\[(BI[NS]\_fnc\_[a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>$1$2 $3;</sqf>") |
Lou Montana (talk | contribs) m (Text replacement - "(\|p[0-9]+ *= *[^(]+\(Optional(, default[^)]*)\) )P([a-z])" to "$1p$3") |
||
(3 intermediate revisions by the same user not shown) | |||
Line 10: | Line 10: | ||
|s1= [camPos, targetPos, time] spawn [[BIS_fnc_setCuratorCamera]] | |s1= [camPos, targetPos, time] spawn [[BIS_fnc_setCuratorCamera]] | ||
|p1= camPos: [[Position]] - (Optional, default [[getPosATL]] [[curatorCamera]]) | |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]]) | |p2= targetPos: [[Array]] format [[Vector3D]], [[Position]] or [[Object]] - (Optional, default [[vectorDir]] [[curatorCamera]]) vector dir or target object/position | ||
|p3= time: [[Number]] or [[Boolean]] - (Optional, default 0) | |p3= time: [[Number]] or [[Boolean]] - (Optional, default 0) commit time or [[true]] to calculate time automatically | ||
|exec= spawn | |exec= spawn | ||
|r1= [[Boolean]] [[true]] | |r1= [[Boolean]] [[true]] when done | ||
|x1= <sqf>[nil,player,5] spawn BIS_fnc_setCuratorCamera;</sqf> | |x1= <sqf>[nil, player, 5] spawn BIS_fnc_setCuratorCamera;</sqf> | ||
|seealso= [[Arma 3: Curator]] | |seealso= [[Arma 3: Curator]] [[curatorCamera]] | ||
}} | }} |
Latest revision as of 12:31, 8 November 2023
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 format Vector3D, 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:
Additional Information
- See also:
- Arma 3: Curator curatorCamera
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