Page MenuHomeFeedback Tracker

Problem with Dialog
Closed, ResolvedPublic

Description

Impossibility to move Charakter (Player) while dialog resource is open.
Please create a config entry or a function that allows us to enable player movement while a dialog is open.

What I'm trying to achieve is, the ability to walk (W,S,A,D ect.)while I'm also able to open an Interactive Dialog (with Buttons).

For example the Ingame Gear/Inventory Dialog allows you to walk around,

Details

Legacy ID
3160657719
Severity
None
Resolution
Not A Bug
Reproducibility
Always
Category
Visual-GUI

Event Timeline

gizz46 edited Steps To Reproduce. (Show Details)Aug 5 2014, 9:26 AM
gizz46 edited Additional Information. (Show Details)
gizz46 set Category to Visual-GUI.
gizz46 set Reproducibility to Always.
gizz46 set Severity to None.
gizz46 set Resolution to Not A Bug.
gizz46 set Legacy ID to 3160657719.May 7 2016, 7:09 PM
Bohemia added a subscriber: AD2001.Aug 5 2014, 9:26 AM

You can walk back and forward when inventory is open, look up how it is done.

gizz46 added a subscriber: gizz46.May 7 2016, 7:09 PM
gizz46 added a comment.Aug 5 2014, 1:40 PM

Thanks for the tipp
I have tried to find it out by looking in the config of the UI_f PBO.But no luck so far.

When you put enableSimulation = 1; to the dialog config (on the same level where idd is), player will be able to move.

gizz46 added a comment.Aug 7 2014, 4:00 PM

Ok Tried it, it dosen't work

////////////
GUI EDITOR OUTPUT START (by gizzygamez, v1.063, #Vohugy)
//////////////

class COMMROSE_HUD

{
idd = -1;
enableSimulation = 1;
duration = 0;
onLoad = "uiNamespace setVariable ['COMMROSE_HUD', _this select 0]";
class controls

{
class RscPicture_1200: RscPicture
{
idc = 1200;
text = "MyPicture\commonRose.paa";
x = 0.340121 * safezoneW + safezoneX;
y = 0.280072 * safezoneH + safezoneY;
w = 0.330073 * safezoneW;
h = 0.439856 * safezoneH;
};

class RscPicture_1201: RscPicture_1200
{
idc = 1201;
text = "MyPicture\commonRoseII.paa";
x = 0.340121 * safezoneW + safezoneX;
y = 0.280072 * safezoneH + safezoneY;
w = 0.330073 * safezoneW;
h = 0.439856 * safezoneH;
colorText[] =
{

		1,
		1,
		1,
		0.5

};
};
class RscButton_1600: RscButton
{
idc = 1600;
text = "SQUAD"; //--- ToDo: Localize;
x = 0.489685 * safezoneW + safezoneX;
y = 0.445018 * safezoneH + safezoneY;
w = 0.0361017 * safezoneW;
h = 0.0439856 * safezoneH;
colorBackgroundActive[] = {0,0,0,0};
colorBackground[] = {0,0,0,0};

colorText[] = {1,1,1,1};

period = 0;
periodFocus = 0;
periodOver = 0;
onMouseEnter ="((uiNamespace getVariable 'COMMROSE_HUD') displayCtrl 1201) ctrlShow true";

		};

class RscButton_1601: RscButton_1600
{
idc = 1601;
text = "ALL"; --- ToDo: Localize;
x = 0.489685 * safezoneW + safezoneX;
y = 0.510996 * safezoneH + safezoneY;
w = 0.0361017 * safezoneW;
h = 0.0439856 * safezoneH;
onMouseExit = "((uiNamespace getVariable 'COMMROSE_HUD') displayCtrl 1201) ctrlShow false";
};
class RscButton_1602: RscButton_1600
{
idc = 1602;
text = "COMBAT";
--- ToDo: Localize;
x = 0.582518 * safezoneW + safezoneX;
y = 0.478007 * safezoneH + safezoneY;
w = 0.0361017 * safezoneW;
h = 0.0439856 * safezoneH;
sizeEx = 0.03;

};
class RscButton_1603: RscButton_1600
{
idc = 1603;
text = "MOVEMENT"; //--- ToDo: Localize;
x = 0.386537 * safezoneW + safezoneX;
y = 0.478007 * safezoneH + safezoneY;
w = 0.0515739 * safezoneW;
h = 0.0439856 * safezoneH;
sizeEx = 0.03;

};

    };

};
////////////
GUI EDITOR OUTPUT END
//////////////

Ah, it seems you're opening the display using createDialog, which locks the movement.
Use createDisplay and it will work fine:
(finddisplay 46) createdisplay "COMMROSE_HUD";

(parent display 46 is the mission display; you can alternatively return it using [] call bis_fnc_displayMission)

Mass-closing all resolved issues not updated in the last month.

Please PM me in BI Forums (http://forums.bistudio.com/member.php?55374-Fireball) if you feel your bug was closed in error.