Difference between revisions of "ctrlMapCursor"

From Bohemia Interactive Community
Jump to navigation Jump to search
Line 74: Line 74:
 
<dt class="note">[[User:Bull A|Bull A]]</dt>
 
<dt class="note">[[User:Bull A|Bull A]]</dt>
 
<dd class="note">
 
<dd class="note">
Current use is limited to controls within #Display - 12
+
_ctrl argument must be (findDisplay 12 displayCtrl 51). Other controls, even if extending from the RscMapControl class will not be affected by this command.<br/><br/>
 +
Example:<br/>
 +
<code>_map = uiNamespace getVariable ["CustomMapDisplayIdd",_displayNull];
 +
_map [[ctrlMapCursor]] ["Track", "Track"];</code>
 +
Result: No change
 
</dd>
 
</dd>
 
</dl>
 
</dl>
 
<!-- DISCONTINUE Notes -->
 
<!-- DISCONTINUE Notes -->

Revision as of 12:13, 15 August 2015

Template:Command

Notes

Bottom Section

Posted on August 14, 2015 - 11:01 (UTC)
Bull A
_ctrl argument must be (findDisplay 12 displayCtrl 51). Other controls, even if extending from the RscMapControl class will not be affected by this command.

Example:
_map = uiNamespace getVariable ["CustomMapDisplayIdd",_displayNull]; _map ctrlMapCursor ["Track", "Track"]; Result: No change