Wintermute Engine Forum

Wintermute Engine => Technical forum => Topic started by: DimitriyII on October 06, 2010, 07:59:07 PM

Title: Question about unactivity of interface
Post by: DimitriyII on October 06, 2010, 07:59:07 PM
Hi. Sorry for my bed english. :)
I have one question. I'm need that in my first sceen, interface(inventory,mouse) will be unactive. How can I do that? I'm tryed

Scene.InventoryVisible = false;
and
Game.InventoryVisible = false;

but it's not helped.
Title: Re: Question about unactivity of interface
Post by: 2.0 on October 07, 2010, 05:06:52 AM
For example, try to use

Code: [Select]
Game.RemoveCursor();
Inv = Game.GetInventoryWindow();
Inv.Visible = false;

Also you need to set back correct values after the end of your intro.

Code: [Select]
Game.SetCursor("CorrectCursorSprite");
Inv = Game.GetInventoryWindow();
Inv.Visible = true;

PS. Е
Title: Re: Question about unactivity of interface
Post by: Mnemonic on October 07, 2010, 04:34:48 PM
Also check this FAQ: http://res.dead-code.org/doku.php/faq#qhow_to_disable_inventory_in_a_scene
Title: Re: Question about unactivity of interface
Post by: DimitriyII on October 07, 2010, 05:56:25 PM
Thanks All )