mapCenterOnCamera: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|( *\[\[[a-zA-Z]+\]\]) * \| *s2 *=" to "|r1=$1 |s2=")
m (Text replacement - " \| +(x[0-9]|p[0-9]{1,2}|descr|game[0-9]|version[0-9]|s[0-9]|exec|r[0-9]|arg|eff|branch|serverExec|gr[0-9]|mp|pr|seealso) *=" to " |$1=")
Line 30: Line 30:
|p21= minimap: [[Control]]
|p21= minimap: [[Control]]


| r2= [[Array]] - [[PositionWorld]] of the map center (camera focus object) in render scope
|r2= [[Array]] - [[PositionWorld]] of the map center (camera focus object) in render scope


|x1= <code>{{cc|--- Minimap update}}
|x1= <code>{{cc|--- Minimap update}}

Revision as of 00:30, 11 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
GUI Control - Map

Syntax

Syntax:
Syntax needed
Parameters:
mainmap: Control
enable: Boolean
Return Value:
Nothing

Alternative Syntax

Syntax:
mapCenterOnCamera minimap Template:Since
Parameters:
minimap: Control
Return Value:
Array - PositionWorld of the map center (camera focus object) in render scope

Examples

Example 1:
// --- Minimap update ((uiNamespace getVariable "BIS_UAV_DISPLAY") displayCtrl 112410) mapCenterOnCamera true;

Additional Information

See also:
ctrlMapAnimAddctrlMapAnimCommitgetPosWorld

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