Scene Properties Switch

Hi, i've ran into a small problem with my project.

To briefly explain: i have a cursor mechanic, but it needs to be deactivated in dialogues/story progression. The cursor is moved by keys, not mouse sensitive.

What do i need to do? Just making it disappear is not an option, as it could still interact with the map behind. I don't know if there's any way to separate the game into two virtual "modes", so to speak.
Hi, I don't know your exact setup but couldn't you just make a switch to determine which "game mode" you are in? If you are in dialogue mode, then you can check that switch and disable your keyboard logic. Maybe that is a solution?
You mean something like this?

- Add a global boolean variable to the scene component
- Add a check for that variable on the display/interaction components for the cursor
- Switch it as needed

EDIT:

I tried making a command, to make life easier. However, in my method to create the cursor, i can't seem to use the @object.addobject method, as it is undefined (which makes sense). How would you go about creating the object and relative sprite without calling it inside the command interpreter? I've looked at some defaults like showPicture but i don't think i understand what's going on there.
Hi,

I didn't expect you are doing this with scripting. Hmm you could try to check $gameMessage_message.textRenderer.isRunning to see if dialogue is active. Maybe that helps?

I tried making a command, to make life easier. However, in my method to create the cursor, i can't seem to use the @object.addobject method, as it is undefined (which makes sense). How would you go about creating the object and relative sprite without calling it inside the command interpreter? I've looked at some defaults like showPicture but i don't think i understand what's going on there.

Ok do you have like screenshots about what kind of menu or cursor-mechanic you have? So its easier to see for me want you have and how you want it to react.

Also there is actually a tutorial about the object system in help file: http://asset.visualnovelmaker.com/help/index.htm#t=Object_Component_System.htm

Original thread: https://forums.rpgmakerweb.com/threads/scene-properties-switch.110224/