1
Technical forum / Re: movie clip intro
« on: July 06, 2014, 04:05:33 PM »
heres the code from game loop scrip, from my very poor knowledge it looks like this part of script toggles inventory visibility
And another thing i dont understand is it enought just to add
Code: [Select]
// display the inventory window
if(Game.Interactive && Game.MouseY < 45 && !Game.ResponsesVisible && !WinMenu.Visible) Game.InventoryVisible = true;
else if(Game.MouseY > 100 || Game.ResponsesVisible || !Game.Interactive) Game.InventoryVisible = false;
and this part is telling when it needs to be hidden Code: [Select]
else if(Game.MouseY > 100 || Game.ResponsesVisible || !Game.Interactive) Game.InventoryVisible = false;
should i add that new condition in this bracket and how.And another thing i dont understand is it enought just to add
Code: [Select]
Scene.NotShowInventory = true;
in the scene script or it needs some additional handlers like onEnterFrame or something like that