- 41
- Posts
- 4
- Years
- Seen Sep 19, 2023
I am implementing a town development via donations thing in one of my towns. Think Animal Crossing Public Works Projects. If the player has not yet met the next major milestone then I want to be able to tell them how far they are away from the next goal.
Is there a way to have the game tell the character what the exact value of a variable is?
Example.
I just donated $1,000, so Variable 49 was increased by 1,000
The Goal for the next building is $30,000 so if Variable 49 is 30,000 or higher it unlocks a switch to open a building
If variable 49 is under 30,000 I want to tell the player what the variable is so they know how much they need to donate.
Is there a way to have the game tell the character what the exact value of a variable is?
Example.
I just donated $1,000, so Variable 49 was increased by 1,000
The Goal for the next building is $30,000 so if Variable 49 is 30,000 or higher it unlocks a switch to open a building
If variable 49 is under 30,000 I want to tell the player what the variable is so they know how much they need to donate.