sliderSetRange: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "")
m (Text replacement - "<h3 style="display:none">Bottom Section</h3> " to "")
Line 31: Line 31:
}}
}}


<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands|SLIDERSETRANGE]]
[[Category:Scripting Commands|SLIDERSETRANGE]]
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]

Revision as of 03:12, 18 January 2021

Hover & click on the images for description

Description

Description:
Sets limits of CT_SLIDER or CT_XSLIDER with given idc of topmost user dialog.
Groups:
GUI Control

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