mapCenterOnCamera: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| *s([0-9]) *= ([^ ]+)? ?'''([a-zA-Z0-9_]+)''' ?([^ ]+)? " to " |s$1= $2 $3 $4 ") |
Lou Montana (talk | contribs) m (Text replacement - " \| *(([^=\| ]+)('''|\[\[)([^=\| ]+)) * +\|p1=" to " |s1= $1 |p1=") |
||
Line 18: | Line 18: | ||
<tt>[[mapCenterOnCamera]] ctrl</tt> syntax centers mini map type control on camera. The command returns world position of the camera. Needs to be executed each frame (preferably inside onDraw EH). | <tt>[[mapCenterOnCamera]] ctrl</tt> syntax centers mini map type control on camera. The command returns world position of the camera. Needs to be executed each frame (preferably inside onDraw EH). | ||
| mainmap '''mapCenterOnCamera''' enable | |s1= mainmap '''mapCenterOnCamera''' enable | ||
|p1= mainmap: [[Control]] | |p1= mainmap: [[Control]] |
Revision as of 23:12, 12 June 2021
Description
- Description:
- Description needed
- Groups:
- GUI Control - Map
Syntax
- Syntax:
- mainmap mapCenterOnCamera enable
- 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
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