Charas-Project

  • Home
  • Help
  • Search
  • Calendar
  • Login
  • Register
*
Please login or register.

Login with username, password and session length
 

News:

New forum theme up and running!



  • Charas-Project »
  • Game Creation »
  • Requests »
  • RPG Maker Programming »
  • Need help with a common event
« previous next »
  • Print
Pages: [1]

Author Topic: Need help with a common event  (Read 1981 times)

Offline azure hunter

  • Member
  • Initiate
  • *
  • Posts: 7
Need help with a common event
« on: November 03, 2006, 12:51:12 AM »
Ok so basically I want a system where I can pick an herb/flower with an with an item i call a "floral cutting kit" and then after a set amount of time it grows back so i can cut it again.
Logged

Offline azure hunter

  • Member
  • Initiate
  • *
  • Posts: 7
(No subject)
« Reply #1 on: November 03, 2006, 12:53:14 AM »
keep in mind its 2k3
Logged

Offline Raen Ryong

  • Skyrunner of Dragonia
  • Associate
  • *
  • Posts: 130
  • Raen Ryong... Skyrunner. Dragonic Soveriegn entity...
(No subject)
« Reply #2 on: November 03, 2006, 06:21:30 AM »
Okay, simple way is:

Pick the flower and it turns a switch ON, as well as setting Variable [0001:Regrow Time] to 0.

Common Event, Parallel Process, activated BY THAT SWITCH;

Wait 1.0s
Change Variable [0001:Regrow Time], +1
Fork Optn [0001:Regrow Time], above {time you want, in seconds}
:Change Switch {the one you made}, OFF

Now, simply make it so that you can only pick the flower when the switch is NOT on. Problem solved :D
Logged
Raen Ryong...
Skyrunner of Dragonia...
Guardian of all worlds...

Hoard and covet not, but be brave and free. Quest always after knowledge and slowly learn to know what science cannot see. Seek and strive for learning, be temperate and wise, for skill and wisdom only will help us to survive.

Offline Sales

  • Guardian Of Light
  • Initiate
  • *
  • Posts: 47
(No subject)
« Reply #3 on: November 18, 2006, 02:43:35 AM »
You should also put in a conditional branch that will only let you pick the flower when you have the item.
Logged
I am the Light Guardian known as Sales Kital.  My full name is Sales Daranus Kital.

  • Print
Pages: [1]
« previous next »
  • Charas-Project »
  • Game Creation »
  • Requests »
  • RPG Maker Programming »
  • Need help with a common event
 

  • SMF 2.0.10 | SMF © 2015, Simple Machines
  • XHTML
  • 2O11
  • RSS
  • WAP2
  • Simple Machines Forum