sliderSetRange: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (template:command argument fix) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Set limits of slider idc of topmost user [[dialog]]. |= | | Set limits of slider idc of topmost user [[dialog]]. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''sliderSetRange''' [idc, min, max] |= | | '''sliderSetRange''' [idc, min, max] |SYNTAX= | ||
|p1= [idc, min, max]: [[Array]] |= | |p1= [idc, min, max]: [[Array]] |PARAMETER1= | ||
|p2= idc: [[Number]] of control |= | |p2= idc: [[Number]] of control |PARAMETER2= | ||
|p3= min: [[Number]] |= | |p3= min: [[Number]] |PARAMETER3= | ||
|p4= max: [[Number]] |= | |p4= max: [[Number]] |PARAMETER4= | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
|s2= control '''sliderSetRange''' [min, max] |= | |s2= control '''sliderSetRange''' [min, max] |SYNTAX= | ||
|p21= control: [[Control]] |= | |p21= control: [[Control]] |PARAMETER1= | ||
|p22= [min, max]: [[Array]] |= | |p22= [min, max]: [[Array]] |PARAMETER2= | ||
|p23= min: [[Number]] |= | |p23= min: [[Number]] |PARAMETER3= | ||
|p24= max: [[Number]] |= | |p24= max: [[Number]] |PARAMETER4= | ||
|r2= [[Nothing]] |= | |r2= [[Nothing]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>[[sliderSetRange]] [101, 0, 100];</code> |= | |x1= <code>[[sliderSetRange]] [101, 0, 100];</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[sliderPosition]], [[sliderRange]], [[sliderSetPosition]], [[sliderSetSpeed]], [[sliderSpeed]] |= | | [[sliderPosition]], [[sliderRange]], [[sliderSetPosition]], [[sliderSetSpeed]], [[sliderSpeed]] |SEEALSO= | ||
}} | }} |
Revision as of 14:49, 7 April 2019
Description
- Description:
- Set limits of slider idc of topmost user dialog.
- 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
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
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint: Resistance version 1.85
- Operation Flashpoint: Resistance: New Scripting Commands
- Operation Flashpoint: Resistance: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands OFP 1.99
- Scripting Commands OFP 1.96
- Scripting Commands ArmA
- Command Group: GUI Control
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters