How to give one item a day?

DiscordMelody

Villager
Member
Joined
Jan 8, 2017
Messages
9
Reaction score
4
First Language
English
Primarily Uses
RMVXA
Hey I'm very new here so if I posted this is the wrong area, I apologize.


I'm creating a little game using RPG Maker VX Ace and I came to a little issue.


I want to give the bachelor/bachelorette an item to raise their affection. I know how to use variables and stuff like that so that worked out fine.


But! I wanted the player give them only one item and then wait for a certain period of time, like a minute or so, before giving them another item.


I tried using the Timer but that just didn't work out that well...


Is there anyone who has a solution to this problem? I've been searching online for answers, but I couldn't really find one. I appreciate any answers. :)
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,370
Reaction score
7,678
First Language
German
Primarily Uses
RMMV
you'll need to introduce the concept of time into the game - the timer is something different as as you found out it can't do what you want.


Either by script or by events you need an automatically counting variable to provide that time, and then use variables to store the last "time" the player got something and only allow those options if the time variable counted high enough again.


There are a few tutorials on this forum to show you how to create a time system by either events or by use of an existing script.
 

DiscordMelody

Villager
Member
Joined
Jan 8, 2017
Messages
9
Reaction score
4
First Language
English
Primarily Uses
RMVXA
you'll need to introduce the concept of time into the game - the timer is something different as as you found out it can't do what you want.


Either by script or by events you need an automatically counting variable to provide that time, and then use variables to store the last "time" the player got something and only allow those options if the time variable counted high enough again.


There are a few tutorials on this forum to show you how to create a time system by either events or by use of an existing script.
Oh hey! That actually worked!


Once I used Vlue's Basic Game Time & Day/Night Script, I figured out how to do it!


Thank you! :)
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Are we allowed to post about non-RPG Maker games?
I should realize that error was produced by a outdated version of MZ so that's why it pop up like that
Ami
i can't wait to drink some ice after struggling with my illness in 9 days. 9 days is really bad for me,i can't focus with my shop and even can't do something with my project
How many hours have you got in mz so far?

A bit of a "sparkle" update to the lower portion of the world map. :LZSexcite:

Forum statistics

Threads
105,883
Messages
1,017,236
Members
137,608
Latest member
Arm9
Top