sliderSetRange: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{uc:{{PAGENAME}}}}" to "")
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Armed[ _]Assault(\|.*)]]" to "{{GameCategory|arma1|Scripting Commands}}")
Line 47: Line 47:
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.96|SLIDERSETRANGE]]
[[Category:Scripting Commands OFP 1.96|SLIDERSETRANGE]]
[[Category:Scripting Commands Armed Assault|SLIDERSETRANGE]]
{{GameCategory|arma1|Scripting Commands}}


[[Category:Scripting Commands Arma 2|{{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 03:29, 8 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

Notes

Bottom Section