So just to preface, I'm back into RPG Maker after only using 2003 and XP. I have only been using MV for about a week and I'm very rusty! But I have a basic understanding of events / variables and things like that.
In my game I have a npc named "Tessa" who will sell armors. I am trying to create a system where you can talk to this NPC, and depending on the amount of items you own that Tessa sells, her affection or friendship level with you will increase, changing her dialogue when you speak to her at different affection levels.
So first I set the NPC event and it looks like this:
I also have another NPC to talk to that will just display to you what her rating is for debug purposes.
I made a Common Event to play out the conditions that would increase her rating level:
And I made a switch start on the first opening map to turn on the recording of Tessa's rating level increase conditions:
Before I purchase any items, the debug NPC tells me:
"Tessa's Rating is 0". So I know its checking and that it works.
I talk to Tessa and she responds with the appropriate Level 0 dialogue:
"you dont have any clothes!", so that works.
Then I purchase one of the items. And this is where it gets confusing for me.
When I go talk to Tessa again with 1 item purchased, no dialogue plays at all. The window just closes.
When I go talk to the debug NPC, it says "Tessa's Rating is (somewhere in the 100s)".
When I talk to the debug NPC again, it says Tessa's Rating is (even higher number).
So this is telling me that the Variable is rapidly increasing by 1 now that I own the item and its going infinitely and I don't have anything to stop it. Is there anything I can do about this? And is it because I have these events set to parallel or other certain settings?
Basically TLDR: any tips to make the Control Variable increase by 1 but then stop adding to it?
Thanks everyone for your time and help!
In my game I have a npc named "Tessa" who will sell armors. I am trying to create a system where you can talk to this NPC, and depending on the amount of items you own that Tessa sells, her affection or friendship level with you will increase, changing her dialogue when you speak to her at different affection levels.
So first I set the NPC event and it looks like this:
I also have another NPC to talk to that will just display to you what her rating is for debug purposes.
I made a Common Event to play out the conditions that would increase her rating level:
And I made a switch start on the first opening map to turn on the recording of Tessa's rating level increase conditions:
Before I purchase any items, the debug NPC tells me:
"Tessa's Rating is 0". So I know its checking and that it works.
I talk to Tessa and she responds with the appropriate Level 0 dialogue:
"you dont have any clothes!", so that works.
Then I purchase one of the items. And this is where it gets confusing for me.
When I go talk to Tessa again with 1 item purchased, no dialogue plays at all. The window just closes.
When I go talk to the debug NPC, it says "Tessa's Rating is (somewhere in the 100s)".
When I talk to the debug NPC again, it says Tessa's Rating is (even higher number).
So this is telling me that the Variable is rapidly increasing by 1 now that I own the item and its going infinitely and I don't have anything to stop it. Is there anything I can do about this? And is it because I have these events set to parallel or other certain settings?
Basically TLDR: any tips to make the Control Variable increase by 1 but then stop adding to it?
Thanks everyone for your time and help!