Community

SCI Programming => SCI Syntax Help => Topic started by: claudehuggins on November 23, 2016, 05:36:56 PM

Title: SCI1.1 - Hiding the menu bar and more interface trickery
Post by: claudehuggins on November 23, 2016, 05:36:56 PM
Can I remove the menu bar (icons, cursor selection etc) from a room completely?

I can explain.

Well, not QUITE completely. I know you can disable use of the menu bar in circumstances where you wouldn't want the player using it (such as the ego's death or a cutscene), but let's say I have a room where I want the player to be able to move the cursor to the top of the screen and have the menu bar still be invisible and unusable. (Hot keys and other alt methods of menu usage still available, I just want the bar to be visibly gone)

Ideally I'd like to tie this to a Boolean so I can control it with, for example's sake,
Code: [Select]
(= menuInvisible True)Or even a function like
Code: [Select]
(menuInvisible)
;blah
(menuVisible)
Or a similar line. Though if that bit can't be done, I'm still cool (this is only for one room so script size isn't my concern).

Maybe this is already a thing. I almost feel like it is. I don't know. I'm very tired.

Maybe there's something I can put in the room initialization that would be automatically loaded and unloaded?
Title: Re: SCI1.1 - Hiding the menu bar and more interface trickery
Post by: Kawa on November 23, 2016, 06:47:11 PM
Have you considered (gIconBar disable:)? That's one of the things handsOff does.

Also please don't call the icon bar the menu bar.
Title: Re: SCI1.1 - Hiding the menu bar and more interface trickery
Post by: claudehuggins on November 23, 2016, 09:26:23 PM
I'll give it a try tomorrow and see if it's what I'm looking for. SCI1.1 has always baffled and confused me for reasons I don't think I could explain, so this probably seemed like a dumb question in retrospect.

Also please don't call the icon bar the menu bar.
Sorry. Force of habit from a previous engine. Like I mentioned, I'm very tired...