So in the game I am currently working on, I was wanting to enable the mouse during certain events (title screen, examining things, certain interactions, etc) but not during the majority of gameplay. Has this been done before? I've searched for scripts that are approved for commercial use but the latest one I saw has not been touched since 2013 and it didn't specify if it could be turned off when simply walking around.
For example... in the game I'm working on, I'd like to use it during the title screen, when ever you inspect something I'm going to have an image of it pop up and let you mouse over the bits you want to look at, and at one point I want the player to be able to interact with a Ouija board. During the Ouija board section, I will have an image pop up (like you might do with a note) and have the cursor replaced with the lens, the player will then get to move the lens over the board for a bit before the mouse is disabled and the cursor moves to pre-determined locations on its' own.
I'm sure other games could find other uses for such a mechanic like puzzles or mini-games.
For example... in the game I'm working on, I'd like to use it during the title screen, when ever you inspect something I'm going to have an image of it pop up and let you mouse over the bits you want to look at, and at one point I want the player to be able to interact with a Ouija board. During the Ouija board section, I will have an image pop up (like you might do with a note) and have the cursor replaced with the lens, the player will then get to move the lens over the board for a bit before the mouse is disabled and the cursor moves to pre-determined locations on its' own.
I'm sure other games could find other uses for such a mechanic like puzzles or mini-games.