- 72
- Posts
- 5
- Years
- southern Wisconsin
- Seen May 25, 2024
I'm adding crime to my game as a variable. I want to add a guy that will clear you of your crimes. so I took (# of crimes * price per crime) and stored that in a new variable.
(each guy who clears you will have different prices)
#1so I want to do a conditional branch that compares that variable with the players gold.
#2 I also don't see a way to print the total amount to the player. (is there a cmd that shows a variable in text like "\pn")
[/url]
image upload[/IMG]
This gives me a syntax error because idk how to call game variables
(each guy who clears you will have different prices)
#1so I want to do a conditional branch that compares that variable with the players gold.
#2 I also don't see a way to print the total amount to the player. (is there a cmd that shows a variable in text like "\pn")
![[PokeCommunity.com] [help] how to compair a variable with gold. [PokeCommunity.com] [help] how to compair a variable with gold.](http://[url=https://ibb.co/tcRs9nT][img]https://i.ibb.co/L6Kt3BX/Capture.png)
image upload[/IMG]
This gives me a syntax error because idk how to call game variables
Last edited: