So my problem is that the run once block never actually runs.
And I need it to calaculate the players current rank.
I tried using when layout loads but still.
-Thank you. :)
Develop games in your browser. Powerful, performant & highly capable.
Both of the conditions 'on item missing' and 'on item exists' only run after you have run the action 'Check item exists' which you didn't use. I assume you are using clear storage for testing purposes. So you can start by adding 'check item exists' action to run 'on storage cleared'. Normally you would do this on start of layout.
Both of the conditions 'on item missing' and 'on item exists' only run after you have run the action 'Check item exists' which you didn't use.
I assume you are using clear storage for testing purposes. So you can start by adding 'check item exists' action to run 'on storage cleared'. Normally you would do this on start of layout.
Thank you! You helped a LOT. The code is not done but at least it's working. Maybe it's a bit unoptimized but it's working. Thank you again. :)
I'm very greatful.
Even after reading about it from the docs it still doesn't work.
If you can please tell me what did I do wrong. I'm checking the system and it shows that SelectedMenu (Global) is 0. Why and what I did wrong?
- Thanks.
If you want to get the width and/or the height of the layout you can use:
LayoutWidth and/or LayoutHeight.
LayoutWidth
LayoutHeight
Hope it helps.