I have a mechanic where the player can walk over a piece of scrap and collect it. The integer read out is not outputting properly.
The scrap has a range of 3 to 8. What is supposed to happen is the player picks it up, it reads the random value, and adds it to their total and output the total. However it won’t add properly.
They start at 0.
Pick up 5 scrap and only receive 3 total.
pick up 7 and they only get 6.
Sometimes it works but it’s only doing it rarely.
1 Like
Even though it’s just to add to the string readout? I’m going to try and fix it now, if you have the time I’ll let you know if it worked.
Wow man, thank you so much that fixed it!
1 Like
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.