- May 10, 2023
- 70
- 78
Hello! I'm pretty sure that there is a prettier solution rather than making hundreds of menus where I always exclude the menu where is he in.
My idea with basic code would be:
menu xxxx:
"xxx":
blabla
jump xxxx
"xx":
bla
jump xxxx
"x": <- player currently here and he shouldnt be able to choose this menu again, keep in mind that he should have the ability to click it again once he went into a different menu point
bla
jump xxxx
I know that I could use flags and set it true once he clicked a point but then the player wouldn't be able to visit the menu point again.
My idea with basic code would be:
menu xxxx:
"xxx":
blabla
jump xxxx
"xx":
bla
jump xxxx
"x": <- player currently here and he shouldnt be able to choose this menu again, keep in mind that he should have the ability to click it again once he went into a different menu point
bla
jump xxxx
I know that I could use flags and set it true once he clicked a point but then the player wouldn't be able to visit the menu point again.