lookAtPos: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|gr1= Editor Control |=GROUP1" to "|gr1= Game 2 Editor |GROUP1=")
mNo edit summary
Line 24: Line 24:




|x1= <code>(findDisplay 12) lookAtPos [0,0,0];</code>|EXAMPLE1=  
|x1= <code>[[findDisplay]] 12 [[lookAtPos]] [0,0,0];</code>|EXAMPLE1=  


____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 15:01, 24 September 2020

Hover & click on the images for description

Description

Description:
Point the camera and center the map on the position.
Some Old Editor Command
Groups:
Game 2 Editor

Syntax

Syntax:
map lookAtPos position
Parameters:
map: Control -
position: Array -
Return Value:
Nothing

Examples

Example 1:
findDisplay 12 lookAtPos [0,0,0];

Additional Information

See also:
freeLook

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

Notes

Bottom Section