Hi,
I have this weird situation which I do not understand at the moment. I have defined two game variables which I want to use in my formulas but I can not seem to get the values from the game variables. I've different options and methods but no luck.
What have I done wrong?
So I define the variables in Game -> Game Settings -> Initial Game Variables.
What I am trying to do is to have certain global value which I need in my formulas for some calculations. Not sure if this is the right place to define such values.
Well my problem is when I try to test the formula. According to the info text for the initial game variables it says something in the line of being loaded when the game is. Does this mean that I can not use these game variables to during formula testing?
To test it in the game, you could e.g. use the Formula To Variable step and see the variable's value in the inspector of the _ORK game object in your scene.
Edit: Maybe you can also test the formula in the editor during a running game, it should have the variables initialized in that case :)
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!