problems with gui

Started by tommyc, Tue 23/11/2004 16:25:39

Previous topic - Next topic

tommyc

i have 2 problems the first one is how do i get rif of the drop down menu on my splash screen.

the second one is after i click new game and my AVI show the inventory GUI apears it the defult mone execpt i put a back ground on it and changed some buttons.

Candle

DisableInterface ()

Disables the player interface. This works the same way as it is disabled while an animation is running: the mouse cursor is changed to the Wait cursor, and mouse clicks will not be sent through to the "on_mouse_click" function. Also, all interface buttons will be disabled.
NOTE: AGS keeps a count of the number of times DisableInterface is called. Every call to DisableInterface must be matched by a later call to EnableInterface, otherwise the interface will get permanently disabled.

Example:

DisableInterface();

will disable the user's interface.

Scummbuddy

actually, we would suggest that you use GUIOff(#); instead. Chris is on the way of getting rid of InterfaceOn and Off.

You'll need to be a bit more clear on your second question, please.
- Oh great, I'm stuck in colonial times, tentacles are taking over the world, and now the toilets backing up.
- No, I mean it's really STUCK. Like adventure-game stuck.
-Hoagie from DOTT

Gilbert

Hehe, Scumm, you should read more carefully. They didn't mention InterfaceOn/Off(), En/DisableInterface() are actually different things.

Scummbuddy

I knew all this Halo2 Xbox Live would get to me. Thanks for the correction.  ;D
- Oh great, I'm stuck in colonial times, tentacles are taking over the world, and now the toilets backing up.
- No, I mean it's really STUCK. Like adventure-game stuck.
-Hoagie from DOTT

tommyc

i will refrase the second question as thats the one thats realy bugging me at the momnet

when i load up my game the first screen that the player charcter is visble in the quit gui apears it also started happening when i click a guioff(#) button to exit other GUI's it closes the first gui and loads up the exit GUI

Scummbuddy

a) select the character not visible in this room, on the room settings. below where you would select to import a background image

b) this sounds like a problem with braces to me. you can feel free to upload your code and we can view it and see your problem. i suspect that you are either missing a brace, or it was placed incorrectly.
- Oh great, I'm stuck in colonial times, tentacles are taking over the world, and now the toilets backing up.
- No, I mean it's really STUCK. Like adventure-game stuck.
-Hoagie from DOTT

SMF spam blocked by CleanTalk