Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Hi!

Is it the same with contraptions ? I'm new to decker and currently struggling to access "values" of a enum contraption (which allows to show text in a slider) 

When I use ".value", it blocks the slide action, but ".text" doesn't seem to work either...

The enum contraption exposes its string value through a .value attribute. Internally, like any contraption, this is handled by get_value[] and set_value[].

I think you're going to need to describe more about what you're trying to do- and especially show the scripts you're trying to use- for us to diagnose what's going wrong.

(+1)

Thank you for your answer!! 

the command was : if me.value=croquettes (etc)

I forgot the " " (it is a string...) 

So with : if me.value="croquettes", it works !