Jump to content
Sign in to follow this  
jezebelthenun

Making an Order/Pick Up System

Recommended Posts

Hey all,

I've cross posted this on Steam as well, but I was hoping someone could help me with a step by step of how I might event and implement an ordering system for shopping in my game.  Rather than simply using a shop process, I'd like my PC to be able to order and pay for items and then have them become available for pick up with an NPC at a later time.  Say my PC is running a shop and needs to restock 2 Bread and 3 Cloaks, they would order them with the NPC and pay at that time, then a day later the items come in and may be picked up with the NPC.

How would I event such a thing?  I know I need a time system, and I need to use a wait function, but I can't figure out how to pull it all off the way I want.



Thanks.

Share this post


Link to post
Share on other sites

Galv has a Timed Spawn script that sounds like it would work. Once the item is ordered, you can use the script to have time pass by (wait commands) whilst your off that map.

 

However this would only work with a "choices" command, instead of a shop.

Himeworks has a script that allows extended options (so you can have 8 choices instead of 4 at a time, per say) so you can have an evented store.

 

Not sure if it's exactly what you want, but anything else seems like you need a custom shop script made up.

  • Like 1

Share this post


Link to post
Share on other sites

So, using that script, how would the program "remember" what was ordered and make it available?

I'm returning to RM after a very long hiatus, so I'm essentially new all over again.  I'm relearning from the bottom up.  

 

It sounds like this is well above my skill level, honestly, which is a bummer.  I really wanted to add this function.  I'll look into it more, and if anyone else might be able to give me a step by step as to how to event it, I would be forever grateful.

The joys of game making!

<3

Edited by jezebelthenun

Share this post


Link to post
Share on other sites

I know that there is a common event shop script. Using it, you could have the common event be a parallel process with a wait x frames (60 = 1 sec) before either adding the items to your inventory, or flipping a switch to make the "delivery" NPC spawn. You could from there go one step beyond and have a different variable for each item/common event, in which case you could have the same delivery NPC work for all items bought, changing event page depending on the variable. Just make sure to set the variable back to 0 after the item is delivered.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
Top ArrowTop Arrow Highlighted