Anybody have any idea if there is a way to fix this?
I have a Behavior Tree Decorator called “random chance”. It does just what you think:
Return (RandomFloat() < RandomChance); (only in blueprint)
It works like a charm, only problem is every time I reload the project, the value of “Random Chance” gets wiped back to default. I had the same problem on another decorator that tests if it’s near a location (I had to make my own so I could add an abort), but that magically started working after I recompiled some C++ code.
I tried this with “random chance” but that didn’t work.