Jump to content
New account registrations are disabed. This website is now an archive. Read more here.
  • 0
Deranged

Eventing Question

Question

Crafting is a big part in my project. I have an idea where the items that the player harvests, mines, etc. respawn at a certain time.

 

Example: Player harvests Medical Herb. Medical Herb doesn't appear til 5 minutes is up.

 

How do I do this?

Share this post


Link to post
Share on other sites

6 answers to this question

Recommended Posts

  • 0

using the wait command in the 2nd tab I think :) set it to 36,000 if you want it to be 5 minutes because the engine count 1 second as 60 frames, the engine only waits based on frames :) also you will need to make the event a parallel process otherwise your player will freeze :) 

Share this post


Link to post
Share on other sites
  • 0

The wait command only goes to an integer of 999. And I got it set like this:

 

Conditional Branch: [Harvest Knife] In Inventory

You gathered 1x Medical Herb

Control Self Switch A=On

 

Else

You need Harvest Knife in inventory

Share this post


Link to post
Share on other sites
  • 0

Im in class at the moment but i may be able to compile my respawn script. It respawns any type of resource over whatever time you choose. It even saves when they player saves so if you set it for 5min and the player saves and quits for 5min there will still be 5min left for them to wait when they come back. It will also change the graphic when it has been picked and is there.

 

But i will warn you its not very user friendly to use and may not work for you.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...