Random variables

Q&A about the latest versions
Post Reply
Posts: 2
Joined: Tue Apr 16, 2019 3:19 pm

Wed Oct 07, 2020 10:17 am

Hi everyone!
I'm looking for a way to add random variables in a project.
I want to insert a little game in a tour with multiple possibility for the user.
By clicking on the "start game" I want to set the variable value from 1 to 3, randomly...
Someone knows how achieve that?
Is it possible by adding javascript code somewhere?
User avatar
Posts: 429
Joined: Tue Apr 08, 2008 7:01 pm
Location: M├╝nchen

Wed Oct 07, 2020 11:49 am

If a frequently change would be applicable, you can use a timer, that counts every x seconds and adds a vaulue of +1 to your variable.
Post Reply