Sets the value of the slider at the specified index. Slider values are always stored as <int32> values, and you must perform the appropriate conversion when using sliders for floating point values.
int32 SetSliderValue( int32 p_nIndex, int32 p_nValue )
Parameter Type | Parameter Name | Documentation |
---|---|---|
int32 | p_nIndex | The index of the control containing the slider you wish to set. |
int32 | p_nValue | The value of the slider. |
None published. Please look for an example in the Scenome Scripting Language code base.