How to record the total increase of a variable across different parts of the game?
===
Recently, I've been working on an achievement system for my game. Simply put, it's a medical-themed game where you can improve patients' health score through various methods, such as psychological counseling, providing items, and offering daily life support.
Since there are many ways to boost health and a lot of characters in the game, I feel that manually creating a separate variable to record each time a change occurs would be too complicated.
Besides that, if the player doesn't perform well, it might also lower the patient's health score. However, I only want to record the increases in the health score, not the decreases.
I remember seeing a plugin with a similar function before, but I can't find it anymore.
===
Any solution?Thank you for your reply!
===
Recently, I've been working on an achievement system for my game. Simply put, it's a medical-themed game where you can improve patients' health score through various methods, such as psychological counseling, providing items, and offering daily life support.
Since there are many ways to boost health and a lot of characters in the game, I feel that manually creating a separate variable to record each time a change occurs would be too complicated.
Besides that, if the player doesn't perform well, it might also lower the patient's health score. However, I only want to record the increases in the health score, not the decreases.
I remember seeing a plugin with a similar function before, but I can't find it anymore.
===
Any solution?Thank you for your reply!
