sliderSetSpeed: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "[[Category:Scripting Commands ArmA|" to "[[Category:Scripting Commands Armed Assault|")
No edit summary
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Set speed of slider with id idc of topmost user [[dialog]].
| Sets speed of <tt>CT_SLIDER</tt> or <tt>CT_XSLIDER</tt> with given idc of topmost user [[dialog]].  
* Click to arrow - move by line
* Click to arrow - move by line
* Click to scale outside thumb - move by page.
* Click to scale outside thumb - move by page. |DESCRIPTION=
<br><br>{{Important | While main syntax only supports <tt>CT_SLIDER</tt>, the alternative syntax supports both <tt>CT_SLIDER</tt> and <tt>CT_XSLIDER</tt>}} |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 22:52, 2 July 2020

Hover & click on the images for description

Description

Description:
Sets speed of CT_SLIDER or CT_XSLIDER with given idc of topmost user dialog.
  • Click to arrow - move by line
  • Click to scale outside thumb - move by page.
Groups:
Uncategorised

Syntax

Syntax:
sliderSetSpeed [idc,line,page]
Parameters:
[idc,line,page]: Array
idc: Number of control
line: Number value delta to move the slider when clicking on the outer arrows
page: Number value delta to move the slider when clicking inside the slider bar
Return Value:
Nothing

Alternative Syntax

Syntax:
control sliderSetSpeed [line, page]
Parameters:
control: Control
[line, page]: Array
line: Number value delta to move the slider when clicking on the outer arrows
page: Number value delta to move the slider when clicking inside the slider bar
Return Value:
Nothing

Examples

Example 1:
sliderSetSpeed [101, 0.5, 2];

Additional Information

See also:
sliderPositionsliderRangesliderSetPositionsliderSetRangesliderSpeed

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