cfsfirefighter 1 Posted January 10, 2014 Hey guys im trying to make a dialog and i want it to behave like the Inventory dialog does like you open your inventory and your still able to run around then after a couple of seconds of running around the dialog closes. can anyone help me with this problem?? because atm with my dialog i get it open but the player is unable to move. Cheers CfsFireFighter Share this post Link to post Share on other sites
cfsfirefighter 1 Posted January 10, 2014 i have also been looking at cutRsc but then i dont get mouse control Share this post Link to post Share on other sites
cfsfirefighter 1 Posted January 11, 2014 Or anyone know how to get into contact with the devs to see if they have some time to explain how they get the inventory dialog to allow you to continue walking around Share this post Link to post Share on other sites
zapat 56 Posted January 11, 2014 (edited) put this: enableSimulation = true; into the dialog's setup in your hpp file. Eg. like this: class MyDialog { idd = -1; movingenable = false; enableSimulation = true; onLoad = "uiNamespace setVariable ['MyDialogId', _this select 0];"; class Controls { //..... } } More about such here: http://community.bistudio.com/wiki/Dialog_Control Edited January 11, 2014 by zapat Share this post Link to post Share on other sites
cfsfirefighter 1 Posted January 12, 2014 Yup i have tried that and i cannot run around still class RscDisplayPhone { onLoad = "uiNamespace setVariable ['RscDisplayPhone', _this select 0];"; idd = 9800; enableSimulation = true; movingEnable = false; class controls { class snb_background: RscPicture { idc = -1; text = "\AustDialog\Images\iphone.paa"; x = -0.00531252 * safezoneW + safezoneX; y = 0.39 * safezoneH + safezoneY; w = 0.345469 * safezoneW; h = 0.616 * safezoneH; }; /........ Then i call it with createDialog "RscDisplayPhone"; Share this post Link to post Share on other sites
zapat 56 Posted January 12, 2014 You cannot run around, since your dialog ha focus, the dialog gets the key and mouse events. My bet would be that you'll need to re-handle all moving while in a dialog. If you try it, not all functions are working while BIS gear is opened, only movement. It may not be true though... Share this post Link to post Share on other sites
zapat 56 Posted February 9, 2014 cfsfirefighter: have you - by any chance - found a way to do this in the end? Share this post Link to post Share on other sites
cfsfirefighter 1 Posted February 25, 2014 nah mate still stuck about to email BI and see if one of there dev team can help lol :-) Share this post Link to post Share on other sites
cfsfirefighter 1 Posted February 27, 2014 Can someone that is good with dialogs rip apart the inventory dialog and find how that is called and how it allows you to run around as it is a dialog not a HUD, ive tried looking but i must be missing something Cheers FireFighter Share this post Link to post Share on other sites