Moksock

Villager
Member
Joined
Aug 20, 2013
Messages
28
Reaction score
1
First Language
English
Primarily Uses
RMMV
Hello,

in my game project im trying to make it so the player goes to a "Diner" and gets a buff to their stats for 10 minutes (have only been doing 1 minute at a time to test) but every time the player leaves or enters an area the buffs keep restarting and adding the bonus stats again, im hoping someone can help me fix this problem.

I'm using RPG Maker MV and i've been trying to perform this job through the Common Events.
 

Attachments

  • Broken Buffs.png
    Broken Buffs.png
    115 KB · Views: 8

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
3,214
Reaction score
728
First Language
English
Primarily Uses
RMVXA
What does the event for turning the switch on look like? is it parallel event as well?
 

bgillisp

Global Moderators
Global Mod
Joined
Jul 2, 2014
Messages
13,935
Reaction score
14,767
First Language
English
Primarily Uses
RMVXA

I've moved this thread to MV Support. Thank you.

 

Moksock

Villager
Member
Joined
Aug 20, 2013
Messages
28
Reaction score
1
First Language
English
Primarily Uses
RMMV
no its just a move event that at the end triggers the switch which is linked to the common event, would you like a picture?
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
43,334
Reaction score
15,157
First Language
English
Primarily Uses
RMMV
Long waits like that won't work in a parallel process event.
 

Moksock

Villager
Member
Joined
Aug 20, 2013
Messages
28
Reaction score
1
First Language
English
Primarily Uses
RMMV
so is there a way to put a timer for how long the buffs last?
 

pasunna

Veteran
Veteran
Joined
Feb 3, 2019
Messages
531
Reaction score
279
First Language
thai
Primarily Uses
RMMV
what you need to change is use conditionbranche to check the timer if it reach zero
then remove buff
 

palatkorn

Veteran
Veteran
Joined
Nov 1, 2019
Messages
267
Reaction score
194
First Language
thai
Primarily Uses
RMMV
It will always work and shut itself down.
You should set it as if buff = on so it can pass.
x.JPG
 

Moksock

Villager
Member
Joined
Aug 20, 2013
Messages
28
Reaction score
1
First Language
English
Primarily Uses
RMMV
so do i just call the common event, so it triggers this event to happen? and with this kind of setup it wont keep adding more and more every time a player enters or exits a doorway?
 

Moksock

Villager
Member
Joined
Aug 20, 2013
Messages
28
Reaction score
1
First Language
English
Primarily Uses
RMMV
Nvm i got it working, thank you everyone for your help.

this thread can be closed now
 

Latest Threads

Latest Profile Posts

I'm weird as there are a few game franchises I'll watch and read about, but have no interest in playing.
Humans have such a capacity to assign personalities and love to objects. We do this because we love them. It's interesting then that our fears over AI are that they won't love us back and will instead hate us.
I'm actively looking for people who want to recreate classical compositions in the public domain for RPG Maker games. I've got a whole kick going on of looking for several resources from anyone which would be sharable amongst commercial games. This latest pursuit is something I'm surprised no one else has started doing.
I played Deltarune chapter 2 today! It was great. No spoilers, but I hope one day I can design a world as interesting as Toby Fox and team.

Forum statistics

Threads
115,153
Messages
1,087,696
Members
149,693
Latest member
Bl1tz16
Top