From d9da877da6efa43de12ef7f8a2434c26a58908b3 Mon Sep 17 00:00:00 2001 From: Valmo Trindade Date: Tue, 17 Jun 2025 03:43:07 -0300 Subject: [PATCH] added ace self action to create the eud connection dialog --- addons/client/config.cpp | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/addons/client/config.cpp b/addons/client/config.cpp index af4af6c..85b6eda 100644 --- a/addons/client/config.cpp +++ b/addons/client/config.cpp @@ -16,4 +16,20 @@ class CfgPatches { }; }; -#include "CfgEventHandlers.hpp" \ No newline at end of file +class CfgVehicles { + class Man; + class CAManBase: Man { + class ACE_SelfActions { + class danceParty { + displayName = "Connect to EUD"; + condition = "!(player getVariable ['armatak_client_eudConnected', false])"; + exceptions[] = {}; + statement = "createDialog 'armatak_udp_socket_start_dialog'"; + icon = ""; + }; + }; + }; +}; + +#include "CfgEventHandlers.hpp" +#include "dialog.hpp" \ No newline at end of file