0

in this code, i am using bepinex and harmony to make a plugin for the game Sons of The Forest code for my plugin the goal of the code attached is to log the value of an in-game variable every second, but the value of the variables in the class (labeled __instance) passed through the parameter for my coroutine (named Gores) does not change. this results in my coroutine printing out the same result in the console forever. How can i make my coroutine print out the value of _bleedingFactor while it updates through the game?

I tried reaching out to more experienced people in the discord server for Sons of the Forest expecting to get answers but got none.

0 Answers0