{"name":"sliderSetSpeed","operator":null,"title":"sliderSetSpeed","type":"command","url":"https://community.bistudio.com/wiki/sliderSetSpeed","revid":376729,"updated":"2025-11-15T04:49:49Z","groups":["GUI Control"],"status":"ok","replaced_by":[],"games":[{"game":"ofp","name":"Operation Flashpoint","version":"1.85"},{"game":"ofpe","name":"Operation Flashpoint: Elite","version":"1.00"},{"game":"arma1","name":"Armed Assault","version":"1.00"},{"game":"arma2","name":"Arma 2","version":"1.00"},{"game":"arma2oa","name":"Arma 2: Operation Arrowhead","version":"1.50"},{"game":"tkoh","name":"Take On Helicopters","version":"1.00"},{"game":"arma3","name":"Arma 3","version":"0.50"}],"since":{"game":"ofp","name":"Operation Flashpoint","version":"1.85"},"arma3_since":"0.50","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Sets slider line step and page step delta amount as well as optional step amount of CT_SLIDER or CT_XSLIDER with given idc of topmost user dialog.\n- Click to arrow - move by line\n- Click to scale outside thumb - move by page.\n\n> [!NOTE]\n> CT_XSLIDER does not use the *page* parameter, it acts as scrollbar when clicked on the bar. It also can only be horizontal.","syntaxes":[{"syntax":"sliderSetSpeed [idc, line, page, step]","since":null,"effect":null,"exec":null,"params":[{"name":"idc","type":"Number","optional":false,"default":null,"description":"control's idc","types":["Number"],"since":null,"text":"idc: Number - control's idc"},{"name":"line","type":"Number","optional":false,"default":null,"description":"value delta to move the slider when clicking on the outer arrows","types":["Number"],"since":null,"text":"line: Number - value delta to move the slider when clicking on the outer arrows"},{"name":"page","type":"Number","optional":false,"default":null,"description":"value delta to move the slider when clicking inside the slider bar","types":["Number"],"since":null,"text":"page: Number - value delta to move the slider when clicking inside the slider bar"},{"name":"step","type":"Number","optional":true,"default":"0","description":"slider step","types":["Number"],"since":null,"text":"step: Number - (Optional, default 0) slider step"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"unary","operator":null,"left":null,"right":{"text":"[idc, line, page, step]","types":["Array"]}},{"syntax":"control sliderSetSpeed [line, page, step]","since":null,"effect":null,"exec":null,"params":[{"name":"control","type":"Control","optional":false,"default":null,"description":null,"types":["Control"],"since":null,"text":"control: Control"},{"name":"line","type":"Number","optional":false,"default":null,"description":"value delta to move the slider when clicking on the outer arrows","types":["Number"],"since":null,"text":"line: Number - value delta to move the slider when clicking on the outer arrows"},{"name":"page","type":"Number","optional":false,"default":null,"description":"value delta to move the slider when clicking inside the slider bar","types":["Number"],"since":null,"text":"page: Number - value delta to move the slider when clicking inside the slider bar"},{"name":"step","type":"Number","optional":true,"default":"0","description":"slider step","types":["Number"],"since":null,"text":"step: Number - (Optional, default 0) slider step"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"},"form":"binary","operator":null,"left":{"text":"control","types":["Control"]},"right":{"text":"[line, page, step]","types":["Array"]}}],"examples":[{"text":"```sqf\nsliderSetSpeed [101, 0.5, 2];\n```","code":["sliderSetSpeed [101, 0.5, 2];"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["sliderSpeed"],"notes":[],"categories":["ArmA: Armed Assault: Scripting Commands","Arma 2: Operation Arrowhead: Scripting Commands","Arma 2: Scripting Commands","Arma 3: Scripting Commands","Command Group: GUI Control","Introduced with Operation Flashpoint version 1.85","Operation Flashpoint: Elite: Scripting Commands","Operation Flashpoint: New Scripting Commands","Operation Flashpoint: Scripting Commands","Scripting Commands","Take On Helicopters: Scripting Commands"]}