Menu actor -> Key down (TAB) -> Script Editor
- Code: Select all
EventDisable("tester", EVENTALL); //Disable player controls
transp = 0; //Set the menu to be visible
However, I just kind of picked it apart from a longer code made for something else entirely, so I don't really know what I'm doing with it, i.e. I don't know what code to use to make the menu invisible again when the player hits TAB to close it.
I basically just need the reverse of this code so I can close the menu after I've opened it.
I need an answer as quickly as possible, if you could! Thanks!