Intro
Hello everybody!
Today I will be showing you how to make a Random generating Obby!
This can currently only be made out of props/barriers, but that could change.
Steps
So first off you need to make your courses, but here are some things to keep in mind
- Keep your courses equal length wise
- Don’t use too many barriers/props in your stages unless you want pain
Ok so first you want to grab a barrier and change 2 settings on it:
Active on game start = No
Activate when receiving on = Stage 1- Variation 1
Now make your courses first course out of the barriers with the settings above
For the next variation, change the 1 behind the variation to a 2 and build your second variation. Do this until you have as many variations as you like for your first stage!
Next grab a Lifecycle, Trigger and a Property
Trigger settings
Trigger when receiving from = Game-Start
Property settings
Property Name= Stage 1 Variations
Property Type = Number
Trigger settings
Event = Game Start
When event occurs, transmit on = Game-Start
Next go to the block section of your trigger, create a new block and add this code:
Notes for code:
- To create a else if block, click the gear of the if do block and add it in
How this works
So what this system does is when the game is started, the block code runs to see which variation is loaded. After the variation is selected, it loads in only that course because the other variations were not active when the game started
Outro
So now that you read the guide you need to answer my polls
- 1/5
- 2/5
- 3/5
- 4/5
- 5/5
- 1/10
- 2/10
- 3/10
- 4/10
- 5/10
- 6/10
- 7/10
- 8/10
If anything could be better, please comment below
Well that’s it from my time, to leave the preschool now
Bye