Wintermute Engine Forum
Wintermute Engine => Technical forum => Topic started by: Marek on June 25, 2004, 03:26:53 PM
-
I have a "world map" screen in the game that should not display the inventory.
So in scene_init I put this:
Game.InventoryVisible = false;
That doesn't work. I figure game.deamon might be overriding it constantly?
if(!Game.ResponsesVisible && !WinMenu.Visible) Game.InventoryVisible = true;
else if(Game.ResponsesVisible || Stateworldmap.Active) Game.InventoryVisible = false;
How can I achieve what I want?
-
You can change the condition to something like:
if(!Game.ResponsesVisible && !WinMenu.Visible && Scene.Name!="map") ...
-
Winner!
-
I have the same problem...where can i find the game.deamon file?
-
in the scripts folder of the data folder.
-
I think you mean the script file named game_loop.script which is by default placed in the scripts folder.
-
Exactly! That's why i cannot found inventory control in game.script :P
Thank you very much for help!