BIS fnc camFollow: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Undo revision 237181 by R3vo (talk))
Tag: Undo
m (Text replacement - "| Nothing |x1=" to "|r1= Nothing |x1=")
Line 17: Line 17:
|p3= refreshTime: [[Number]] - (Optional, default 1) transition time in seconds. If ''refreshTime'' is '''positive''', a refresh happens only once. if ''refreshTime'' is '''negative''', the refresh will loop (with a transition time of [[abs|absolute]] ''refreshTime'') until camera [[isNull|is null]]
|p3= refreshTime: [[Number]] - (Optional, default 1) transition time in seconds. If ''refreshTime'' is '''positive''', a refresh happens only once. if ''refreshTime'' is '''negative''', the refresh will loop (with a transition time of [[abs|absolute]] ''refreshTime'') until camera [[isNull|is null]]


| [[Nothing]]
|r1= [[Nothing]]


|x1= <code>_camera = "camera" [[camCreate]] (([[getPos]] [[player]]) [[vectorAdd]] [0,0,3]);
|x1= <code>_camera = "camera" [[camCreate]] (([[getPos]] [[player]]) [[vectorAdd]] [0,0,3]);

Revision as of 10:56, 10 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
call
Groups:
Camera

Syntax

Syntax:
Syntax needed
Parameters:
camera: Object
target: Object or Position
refreshTime: Number - (Optional, default 1) transition time in seconds. If refreshTime is positive, a refresh happens only once. if refreshTime is negative, the refresh will loop (with a transition time of absolute refreshTime) until camera is null
Return Value:
Nothing

Examples

Example 1:
_camera = "camera" camCreate ((getPos player) vectorAdd [0,0,3]); [_camera, player, -2] call BIS_fnc_camFollow;

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