Hello,
I created a Computer Hotspot, which is used to turn on a ComputerScreen Menu, where the player is required to enter a password. The menu has "OK" button in it, that runs an ActionList, where the entered password gets set, then checked and then the menu is turned off. The problem is after the menu is turned off I can't control my player anymore, and the cursor is moving freely over the game screen. The game is in First Person mode.
What am I doing wrong?
Comments
Unfortunately, the update didn't fix the problem. I guess it might be something to do with the way I trigger the Menu on. When I use "On Input Key", then everything is working, but when I use hotspost's interaction, then when I turn off the menu, looks like the game remains paused.
EDITED:
I used "Engine: Manage Systems" in my ActionList to re-enable cursor after the menu is turned off, now it works as I wanted. However, if the password is correct, a Cutscene should play to open a door, but when I put "Run Cutscene" at the end of my ActionList it doesn't work and the cutscene's name disappears from the ActionList after I test run my game.
Instead, add a ConstantID script to the Cutscene in question. It will generate an ID number, which you can copy/paste into an Engine: Run ActionList Action on the asset file.
MenuInput inputBox = (MenuInput) PlayerMenus.GetElementWithName ("TheMenu", "TheInputBoxName");
inputBox.label = "";
Alternatively, if the box is linked to a Global Variable string, you should be able to just set the string as nothing to have the same effect.