ctrlMapCursor: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Added example from HC.)
Line 44: Line 44:
[[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Revision as of 11:58, 2 November 2011

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