How do I recover the value of SliderBar ! (sorry I'm frensh)

0 favourites
  • 4 posts
From the Asset Store
Custom SliderBar Capx
$3.50 USD
30% off
Custom Slider Bar Tutorial. I don't have other remaining words to type here
  • Hi everybody,

    Sorry for my english because I'm frensh.

    I want to recover the value of a SliderBar por example if the Value of the SliderBar is 40 / 100, put in a variable 40.

    thank you, Adrien

  • Hi everybody,

    Sorry for my english because I'm frensh.

    I want to recover the value of a SliderBar for example if the Value of the SliderBar is 40 / 100, put in a variable 40.

    thank you, Adrien

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hi everybody,

    Sorry for my english because I'm frensh.

    I want to recover the value of a SliderBar for example if the Value of the SliderBar is 40 / 100, put in a variable 40.

    thank you, Adrien

    It's covered in the relevant Manual entry for SlideBar.

    If you have a variable called 'sbval'

    Then you could have a condition / action Like:

    Slider Bar On Changed    -     System set sbval to SliderBar.Value
    [/code:2i1fe4sy]
    
    You could then display this in a text object or however you want.
    
    Here's a quick example:
    [url]https://dl.dropboxusercontent.com/u/34306693/ReturnSliderBarValue.capx[/url] (requires r240 available at footer of forum).
    
    Is this what you require?
  • thank you !! :p

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)