The RPG Maker Resource Kit

RMRK RPG Maker Creation => VX Ace => Topic started by: MinhYzal on September 30, 2016, 03:53:34 PM

Title: [Solved] Common event item problem
Post by: MinhYzal on September 30, 2016, 03:53:34 PM
Hi guys.
I cant find any tutorial on how to use item in common event ;; I hope you guys can help me with this.
This is what i got so far
http://imgur.com/a/pTuNX
Title: Re: Common event item problem
Post by: &&&&&&&&&&&&& on October 01, 2016, 06:39:47 AM
Is there any reason you need it to be a common event?
What you have there should work fine, what is it doing wrong?
Title: Re: Common event item problem
Post by: MinhYzal on October 01, 2016, 12:10:46 PM
When I choose the key, it just said " I need a key ". It doesnt open the door. ;-;
Ah thank you for reply in this post, Im graceful ^^
Title: Re: Common event item problem
Post by: yuyu! on October 01, 2016, 05:17:09 PM
Is it possible that the "door" variable is not setting itself to 23? If you pull up the debug menu while playtesting (F8), it should show you what that variable's value is.

A nicer way of using items is setting up a "select key item" event (assuming your key is a "key" type item). It will store the variable of the key item you select, and you can run a condition to check if the player has selected the item ID of the key. I'm not sure if this is what you wanted, though.

(Unless you already set up "select key item" in another event and are checking for it as a common event?)
Title: Re: Common event item problem
Post by: MinhYzal on October 02, 2016, 04:38:00 AM
Well I cant do the F8 you say tho ;;-;;
This is what i got :
Door : http://imgur.com/a/LYCUI
Item : http://imgur.com/a/1VwCR
Region ID : http://imgur.com/a/HLccf
I hope you can help me with this, I really want the player choose the item from menu.
Thank you >w<
Title: Re: Common event item problem
Post by: &&&&&&&&&&&&& on October 02, 2016, 07:22:28 AM
Unless there's something fancy you're trying to do, I think you're over complicating this a bit.
You really only need a conditional branch and a switch.

(http://i.imgur.com/TOYUPac.png)

(http://i.imgur.com/bTPHY7C.png)
Title: Re: Common event item problem
Post by: MinhYzal on October 03, 2016, 05:49:16 AM
 Yes. I've try those and now I want to make it more fancy - upgrade it a lil bit lol
Do you think it possible ?
Title: Re: Common event item problem
Post by: MinhYzal on October 03, 2016, 07:48:58 AM
OMG I just realize how stupid I am..
Thanks you guys I find out the problem ^^