Turn Off & Disable gPanel GUIs [SOLVED]

Started by Arjunaz78, Tue 04/10/2011 21:40:26

Previous topic - Next topic

Arjunaz78

How can i turn off a 'gPanel' GUIs on my game forever & nothing happen when i try hit ESC key (except for cutscene skipping 'StartCutscene(eSkipESCOnly);')? i've got a problem when editing the GlobalScript,besides i'm noob on scripting language editing..  :P
What i want is the 'gPanel' turn off or disable along with my games from start of the game until the end of the game,although i try hit ESC key..

Alternatively, i want too the 'gPanel' only appear/visible when i hit ESC key when the game start in first room but not when cutscene,intro,outro and game start interface..
..In the making of Silent Hill: The Hospital..

https://www.facebook.com/ArjunazGamesStudio

pcj

Well, just make gPanel visibility off by default, and only code the on_key_press function for the rooms you want the ability to show it with ESC.

Basically, what I'm saying is you can use on_key_press in a particular room, not just globally.
Space Quest: Vohaul Strikes Back is now available to download!

Arjunaz78

THX pcj..i got success through that..thanks again..  :)
..In the making of Silent Hill: The Hospital..

https://www.facebook.com/ArjunazGamesStudio

SMF spam blocked by CleanTalk