sliderSetPosition: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (template:command argument fix) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Set current thumb position of slider idc of topmost user [[dialog]]. |= | | Set current thumb position of slider idc of topmost user [[dialog]]. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''sliderSetPosition''' [idc, pos] |= | | '''sliderSetPosition''' [idc, pos] |SYNTAX= | ||
|p1= [idc, pos]: [[Array]] |= | |p1= [idc, pos]: [[Array]] |PARAMETER1= | ||
|p2= idc: [[Number]] of control |= | |p2= idc: [[Number]] of control |PARAMETER2= | ||
|p3= pos: [[Number]] |= | |p3= pos: [[Number]] |PARAMETER3= | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
|s2= control '''sliderSetPosition''' pos |= | |s2= control '''sliderSetPosition''' pos |SYNTAX= | ||
|p21= control: [[Control]] |= | |p21= control: [[Control]] |PARAMETER1= | ||
|p22= pos: [[Number]] |= | |p22= pos: [[Number]] |PARAMETER2= | ||
|r2= [[Nothing]] |= | |r2= [[Nothing]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>[[sliderSetPosition]] [101, 50];</code> |= | |x1= <code>[[sliderSetPosition]] [101, 50];</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[sliderPosition]], [[sliderRange]], [[sliderSetRange]], [[sliderSetSpeed]], [[sliderSpeed]] |= | | [[sliderPosition]], [[sliderRange]], [[sliderSetRange]], [[sliderSetSpeed]], [[sliderSpeed]] |SEEALSO= | ||
}} | }} |
Revision as of 14:49, 7 April 2019
Description
- Description:
- Set current thumb position of slider idc of topmost user dialog.
- Groups:
- Uncategorised
Syntax
- Syntax:
- sliderSetPosition [idc, pos]
- Parameters:
- [idc, pos]: Array
- idc: Number of control
- pos: Number
- Return Value:
- Nothing
Alternative Syntax
Examples
- Example 1:
sliderSetPosition [101, 50];
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