Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
How do i make coppercube to open level randomly from given options mean i want that once i clicked on play button from main menu i want that it will open any random level. |
||||
|
You can use variables for that, there is an action that sets random value and based on that random value, you can have if variable for each level. for example if you have 4 levels in your games and you want to select random from them when the game starts, then you can set minimum and maximum value for the random variable, and then on click on play button set random value first and have 4 if a variable has value do something actions, if variable has value 1 switch to level 1, if variable has value 2 switch to 2nd level and so on. it will be much easier with scripting but won't be complicated with actions and behaviors. There are many games in the community and example files that shows random selection. Just go through them, you can find many examples on itch.io and a few demos on my website Neophyte.cf as well. https://neophyte.cf/assets.html |
||||
|
Oh i didnt think about this thank you ![]() |
|