I'm trying to make it so that the player can only use certain items outside of battle when one of the game's switches is set to "yes." I found a script that seemed promising from Hime, but it seems to only work with item usage in battle, and I need it for outside battle.
Restrict specific item use based on switch
RPG Maker VXAce SupportNot exactly what your looking for but something like this could work.
Note: Remove 'Conditional Branch: is Appeared' and 'Jump' if you want 'Occasion' to be 'Only from the Menu' and not 'Always'.
Note: Remove 'Conditional Branch: is Appeared' and 'Jump' if you want 'Occasion' to be 'Only from the Menu' and not 'Always'.
Hm. I guess this would work as long as I don't run out of common events, but I worry that I'll have too many items for that. I'm already using common events to create my games non-combat battle system.
Szyu's Item Usage Redirection
Szyu's Item Usage Redirection Introduction Redirects an items usage effect, when certain conditions are met. Get it at Pastebin How to Use and mark the condition area in an Item's notes In this block, you can add redirection with id - conditionExample: 20 - class_id == 2In this...
forums.rpgmakerweb.com
Original thread: https://forums.rpgmakerweb.com/threads/restrict-specific-item-use-based-on-switch.170428/