I am looking for some help with this common event i made for the rewards received for my fishing mini game. It works as it should to the end. It shows the fish name, some times the weight, some times two fish types and no weight. It then asks if the player would like to cast there line again yes or no. When you press no it doesn't stop the fishing mini game as it should it asks you again when you press no it asks a third time then after you press no again it will close. any help would be greatly appreciated. Cheers
Fishing Rewards Common Event Issues
RPG Maker MZ SupportYou can just paste your screenshot directly in your message. In fact, I can't get your imgur link to open properly.
Hope that is better
A few things I noticed.
Look at your conditional branches. What happens if the random number is 93 - 100? That isn’t assigned a fish name or a weight.
In your <=60 branch, your text says 2 fish with a carry over from the <=40 branch.
We would have to see your mini game Event to understand why turning off a Switch doesn’t stop the Event.
If 93-100 is supposed to be no fish caught, then you also need to reset the weight variable back to 0 for the next time the Common Event runs.
Is the Common Event Quick Time Bar your mini game?
Look at your conditional branches. What happens if the random number is 93 - 100? That isn’t assigned a fish name or a weight.
In your <=60 branch, your text says 2 fish with a carry over from the <=40 branch.
We would have to see your mini game Event to understand why turning off a Switch doesn’t stop the Event.
If 93-100 is supposed to be no fish caught, then you also need to reset the weight variable back to 0 for the next time the Common Event runs.
Is the Common Event Quick Time Bar your mini game?
As said above, your problem sounds as if the common event is continually restarted - but since it is a called common event (no trigger) we would have to see the event that calls the common event to determine where the error is.
I will put it all together and send it shortly thank you all for the help!
the common events work like this check equipment, difficulty selection, quick time bar, wait for bite, reel in the fish, determine rewards.
How it works is there is a map event that checks if the player has a fishing rod and bait in the inventory if they do then it moves onto fishing allowed, the player then selects 1 of 3 difficulty levels easy moderate master, the difficulty decides on how hard the quick time bar event is. when they select a difficulty this starts the common event quick time bar were the player has to press the action button when the arrow is in the sweet spot. if they succeed the common event wait for bite is activated. the player has to wait a certain amount of time for the ! bubble to appear above the characters head and press the action button before it disappears. if they succeed in doing this the reel in the fish common event is activated. the only thing in the reel in the fish common event is reel it in! in text wait 30 frames common event button mash bar. the button mash bar is set to a certain amount of time to fill the bar before the timer runs out if successful the player moves onto the determine rewards common event that should show a random fish out of 5 different fish and also the weight that is random number for the certain type of fish. then it starts over if the player says yes to cast the line again or end if they say no.
How it works is there is a map event that checks if the player has a fishing rod and bait in the inventory if they do then it moves onto fishing allowed, the player then selects 1 of 3 difficulty levels easy moderate master, the difficulty decides on how hard the quick time bar event is. when they select a difficulty this starts the common event quick time bar were the player has to press the action button when the arrow is in the sweet spot. if they succeed the common event wait for bite is activated. the player has to wait a certain amount of time for the ! bubble to appear above the characters head and press the action button before it disappears. if they succeed in doing this the reel in the fish common event is activated. the only thing in the reel in the fish common event is reel it in! in text wait 30 frames common event button mash bar. the button mash bar is set to a certain amount of time to fill the bar before the timer runs out if successful the player moves onto the determine rewards common event that should show a random fish out of 5 different fish and also the weight that is random number for the certain type of fish. then it starts over if the player says yes to cast the line again or end if they say no.
the rest of the common events
and where is the map event?
none of the common events have a trigger, and that means the error is probably in the event that calls them as I explained above.
All your screenshots are useless without seeing the event that triggers everything.
You also didn't address any of the things I pointed out. You say that the player should get 1 of 5 random fish. But the way your Event is set up, the player would get 1 of 4 fish or nothing. And you still have the double fish text in one conditional branch.
i figured it out thanks again for the help!
Original thread: https://forums.rpgmakerweb.com/threads/fishing-rewards-common-event-issues.169666/