sliderSetSpeed: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "[[Category:Scripting_Commands_Take_On_Helicopters" to "[[Category:Scripting Commands Take On Helicopters")
m (Text replacement - "[[Category:Scripting Commands ArmA|" to "[[Category:Scripting Commands Armed Assault|")
Line 48: Line 48:
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.96|SLIDERSETSPEED]]
[[Category:Scripting Commands OFP 1.96|SLIDERSETSPEED]]
[[Category:Scripting Commands ArmA|SLIDERSETSPEED]]
[[Category:Scripting Commands Armed Assault|SLIDERSETSPEED]]
[[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_GUI_Control|{{uc:{{PAGENAME}}}}]]
[[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 20:37, 3 June 2020

Hover & click on the images for description

Description

Description:
Set speed of slider with id idc of topmost user dialog.
  • Click to arrow - move by line
  • Click to scale outside thumb - move by page.


While main syntax only supports CT_SLIDER, the alternative syntax supports both CT_SLIDER and CT_XSLIDER
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