acemod / ACE3

Open-source realism mod for Arma 3
https://ace3.acemod.org
Other
1.02k stars 739 forks source link

ACE Interact Menu closes all type of dialogs #6967

Closed th3-sh0w3r closed 5 years ago

th3-sh0w3r commented 5 years ago

Arma 3 Version: newest CBA Version: newest ACE3 Version: newest

Mods:

- CBA_A3
- ace

Description: Everytime you go into a dialog created with "createDialog" and press the interact key, to open the interaction menu, ace closes automaticly the opened dialog. How can I stop or disable this?

Steps to reproduce:

Where did the issue occur?

commy2 commented 5 years ago

What do you want instead? Have your display and the interaction menu or disable the interaction menu from appearing? What display do you use?

th3-sh0w3r commented 5 years ago

What do you want instead? Have your display and the interaction menu or disable the interaction menu from appearing? What display do you use?

Disable the interaction menu from appearing & the behaviour that the apperring closes the dialog. But I dont know if there is any option for this or any type of script function.

commy2 commented 5 years ago

And what display is this?

th3-sh0w3r commented 5 years ago

And what display is this? What do you mean with that?

It's just on custom created dialogs and dialogs from altislife. As example I created a shop where you can buy some items and for that I'm using createDialog.

commy2 commented 5 years ago
// init,sqf
["nflug_noDisplayShown", {isNull (uiNamespace getVariable ["nflug_myDisplay", displayNull])}] call ace_common_fnc_addCanInteractWithCondition;

Where nflug_myDisplay is your display stored in ui namespace.

th3-sh0w3r commented 5 years ago

Ok thank you. Is something like ["nflug_displayShown", {!dialog}] call ace_common_fnc_addCanInteractWithCondition;

working too for all dialogs?

commy2 commented 5 years ago

No that would break everything.

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.