RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
RPG 2003 item problem

0 Members and 1 Guest are viewing this topic.

*
Rep: +0/-0Level 85
Hi everyone. I'm having a problem with items in RPG Maker 2003.

I'm trying to do a basic thing where there's a guard standing that won't let you through unless you have an item. The idea is that you need to go to a shop and buy the item. But whenever I test it, it won't seem to recognize that I have the item, even after I've bought it. I set the precondition to "(item) held" and everything but it just keeps acting as if I don't have it.

Anyone have any ideas on what to do? Any help at all would be appreciated.

Thanks!

**
Rep: +0/-0Level 85
Om nom nom nom
Try something like this.
Make an Empty event space where you want the guard to stand after he sees the item that you need, so that you can get past.

Go to the Events on the guard, and select "Conditional Branch"

<>Branch if (Your item) Possessed
   <>Message: I see you have (Item), You may pass.
   <> Switch Operation: [####:Gp2] ON  <-- EDIT
   <> Switch Operation: [####:Guard] ON
: Else Handler
  <>Message: You may not pass unless you have (Item) in your possession, Leave this place at once!
  <>
:End
<>
                                                                                                                                         
Now, Make a Page Two on that guard, and set a Precondition of "[Check] Switch [Guard] ON"

That way once it turns the switch on, you'll get a blank guard now, Moved in position. Feel free to add a Message on Page two saying something like "You have the (Item), You may enter."

And there ya go. :D I hope that helped you.

EDIT: GP2 is the second page of the initial guard. Making it so that the space is empty, I realized that with my trade two event locations event, The instant you moved off screen, and came back, the guard would be there again. Creating yet another flaw.

P.S. Sorry for the late edit on this. Not like you're going to see it anyway though. Pointless to sign on for a day, ask something, then never check on it. =/ Oh well, It's here if you ever decide to come back.
« Last Edit: September 10, 2008, 01:22:15 AM by Kojinus »