Difference between revisions of "ctrlMapCursor"

From Bohemia Interactive Community
Jump to navigation Jump to search
(add. classification)
(Added example from HC.)
Line 22: Line 22:
  
 
|x1= <code>ctrlMapCursor ["Track",customCursor]</code>|= EXAMPLE1  
 
|x1= <code>ctrlMapCursor ["Track",customCursor]</code>|= EXAMPLE1  
 +
 +
|x2= <code>uiNamespace setVariable ["_map",(findDisplay 12) displayCtrl 51];
 +
(uiNamespace getVariable "_map") ctrlMapCursor ["Track","HC_overFriendly"];</code>|= EXAMPLE1
  
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________

Revision as of 09:06, 16 June 2010

Hover & click on the images for description

Description

Description:
Changes default cursor texture ("Track",Move,Array,Scroll) to,custom one. To restore default texture,write empty string. If new,texture does not exist,default cursor texture is used.
Groups:
Uncategorised

Syntax

Syntax:
control ctrlMapCursor texture names
Parameters:
control: Control -
texture names: Array -
Return Value:
Nothing

Examples

Example 1:
ctrlMapCursor ["Track",customCursor]
Example 2:
uiNamespace setVariable ["_map",(findDisplay 12) displayCtrl 51]; (uiNamespace getVariable "_map") ctrlMapCursor ["Track","HC_overFriendly"];

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

Notes

Bottom Section