- Joined
- Aug 22, 2019
- Messages
- 16
- Reaction score
- 2
- First Language
- Russian
- Primarily Uses
- RMMV
Good day!
In my game there is one certain area where I want to disable Item, Equip and some other menus but still let player have access to the rest (like Options, Save/Load, Quest Journal, etc). The best would be to hide them, but just disabling them would also be fine.
I found this code (can't remember already, where exactly):
It prevents from using items if switch is on, but I still can access the menu. Maybe there is a way to modify it somehow?
In my game there is one certain area where I want to disable Item, Equip and some other menus but still let player have access to the rest (like Options, Save/Load, Quest Journal, etc). The best would be to hide them, but just disabling them would also be fine.
I found this code (can't remember already, where exactly):
def item
if $game_switches[51] == true
$game_system.se_play($data_system.decision_se)
$scene = Scene_Item.new
else
$game_system.se_play($data_system.cancel_se)
It prevents from using items if switch is on, but I still can access the menu. Maybe there is a way to modify it somehow?