sliderSetRange: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(important)
m (Text replacement - "Category:Scripting Commands ArmA2" to "Category:Scripting Commands Arma 2")
Line 48: Line 48:
[[Category:Scripting Commands ArmA|SLIDERSETRANGE]]
[[Category:Scripting Commands ArmA|SLIDERSETRANGE]]
[[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]

Revision as of 17:24, 10 January 2020

Hover & click on the images for description

Description

Description:
Set limits of slider idc of topmost user dialog.

While main syntax only supports CT_SLIDER, the alternative syntax supports both CT_SLIDER and CT_XSLIDER
Groups:
Uncategorised

Syntax

Syntax:
sliderSetRange [idc, min, max]
Parameters:
[idc, min, max]: Array
idc: Number of control
min: Number
max: Number
Return Value:
Nothing

Alternative Syntax

Syntax:
control sliderSetRange [min, max]
Parameters:
control: Control
[min, max]: Array
min: Number
max: Number
Return Value:
Nothing

Examples

Example 1:
sliderSetRange [101, 0, 100];

Additional Information

See also:
sliderPositionsliderRangesliderSetPositionsliderSetSpeedsliderSpeed

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