I managed to put together a system where if the player kills an npc a common event called "Murder" goes up by 1 each time an npc is killed. If the player is in a town, the guards chase after the player and the player gets a choice to either pay the fine, or fight the guard. I want 1 murder count = 1000 gold, so if the player killed 2 npc's the fine would be 2000 gold, any ideas on how to achieve a fine like that?
Crime fines?
RPG Maker MV SupportYes.
You control a Variable: Mudrer.
Murder let's say it is 5.
You create a variable that you will be setting a new value every time a player visits a town.
The Variable will be named Fine.
It will be equal to Murder using a command to asssign value.
So Fine = 5 now.
Then you assign a new value, by multiplying what it already has the variable in, with 1000.
So Fine goes 5000.
If he pays, then Murder = 0
Fine = 0
You control a Variable: Mudrer.
Murder let's say it is 5.
You create a variable that you will be setting a new value every time a player visits a town.
The Variable will be named Fine.
It will be equal to Murder using a command to asssign value.
So Fine = 5 now.
Then you assign a new value, by multiplying what it already has the variable in, with 1000.
So Fine goes 5000.
If he pays, then Murder = 0
Fine = 0
Thank you, that made it work perfectly
Thread closed IgnoreMe
Original thread: https://forums.rpgmakerweb.com/threads/crime-fines.105988/