Deranged 0 Report post Posted November 4, 2013 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
0 FleshRenderStudios 3 Report post Posted November 4, 2013 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 Deranged 0 Report post Posted November 4, 2013 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 Polraudio 122 Report post Posted November 4, 2013 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
0 Deranged 0 Report post Posted November 4, 2013 I actually fixed it myself. I used the control timer command to set a timer before it respawns, then made a self swith loop that repeats the first tab. Share this post Link to post Share on other sites
0 FleshRenderStudios 3 Report post Posted November 4, 2013 I was just about to suggest that lol :) Share this post Link to post Share on other sites
0 Deranged 0 Report post Posted November 4, 2013 I knew it was an easy fix, but it's such a big project, it needed some collaborative thinking :D Share this post Link to post Share on other sites
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