sliderSetPosition: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "Category:Scripting Commands ArmA2" to "Category:Scripting Commands Arma 2")
No edit summary
Line 47: Line 47:
[[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}}}}]]
<!-- CONTINUE Notes -->
<dl class="command_description">
<dd class="notedate">Posted on January 22, 2020 - 11:46 (UTC)</dd>
<dt class="note">[[User:POLPOX|POLPOX]]</dt>
<dd class="note">
[[sliderSetPosition]] doesn't fire [[User_Interface_Event_Handlers#onSliderPosChanged | onSliderPosChanged]] events.
</dd>
</dl>
<!-- DISCONTINUE Notes -->

Revision as of 13:46, 22 January 2020

Hover & click on the images for description

Description

Description:
Set current thumb position of slider idc of topmost user dialog.

While main syntax only supports CT_SLIDER, the alternative syntax supports both CT_SLIDER and CT_XSLIDER
Groups:
Uncategorised

Syntax

Syntax:
sliderSetPosition [idc, pos]
Parameters:
[idc, pos]: Array
idc: Number of control
pos: Number
Return Value:
Nothing

Alternative Syntax

Syntax:
control sliderSetPosition pos
Parameters:
control: Control
pos: Number
Return Value:
Nothing

Examples

Example 1:
sliderSetPosition [101, 50];

Additional Information

See also:
sliderPositionsliderRangesliderSetRangesliderSetSpeedsliderSpeed

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

Posted on January 22, 2020 - 11:46 (UTC)
POLPOX
sliderSetPosition doesn't fire onSliderPosChanged events.