New account registration is temporarily disabled.

[RMVX ACE] NEED HELP WITH YANFLY COMMON EVENT SHOP CODING

Posts

Pages: 1
Hello I need smart people to help me.
I use yanfly common event shop for my job board but I don't know how to disable or hide the CE from being listed in the buy list after you bought it. The script said you can do it but I don't know how.

Here is the script: https://yanflychannel.wordpress.com/rmvxa/menu-scripts/common-event-shop/

This is what the script said:
<shop show eval>
string
string
</shop show eval>
Advanced users can show and hide common events from being listed in the buy list through this notetag. Replace string with lines of code to check for.


BUT! but... I don't know how to coding. *face palm* I google everything I could but fail. Anyone help me please?
From looking at the script, I wouldn't recommend using that note tag if you're not familiar with RGSS3. Use this one instead:

<shop show switch: x>

And replace x with the ID of an in game switch. At the start of the game (or whenever), turn that switch ON. The common event should appear in the shop then. If you want that event to disappear from the shop after you've bought it, then turn the switch OFF within the common event itself.

Hope that makes sense.
I did it! Thank you so much Stark. (⁠つ´▽  `)⁠つ
Sometime I feel like I understand then I don't, need someone like you to help me organize the thoughts. This might use too many switch to manage but I will try to not confused myself.
Pages: 1