t0by2k1 10 Posted April 18, 2014 Hey guys, Is it possible to store dialogs on a PBO and stream to the clients? For all other I use BIS_fnc_MP, it works for a lot of stuff, but I really want to use nice looking dialogs but I dont want it implement in every missionfile nor as client addon. I hope there exist a way, if you know it - please let me know! :-) Cheers! Share this post Link to post Share on other sites
terox 316 Posted April 18, 2014 dialogs are a config, these are loaded before preinit, so there will be no way to inject these onto the client, you will need to make an addon for the clients Share this post Link to post Share on other sites
.kju 3245 Posted April 18, 2014 you could abuse an existing dialog from BI maybe and adjust the look via the scripting commands not sure if you can manipulate it enough for your desired purpose though Share this post Link to post Share on other sites
Master85 1 Posted April 18, 2014 ;2670782']you could abuse an existing dialog from BI maybe and adjust the look via the scripting commands e.g. class RscDisplayCommon which inherits from class RscGUIEditor it has many different controls defined createDialog "RscDisplayCommon"; disableSerialization; _ctrl = (findDisplay 999) displayCtrl 1001; _ctrlb = (findDisplay 999) displayCtrl 1000; _button = (findDisplay 999) displayCtrl 1600; _ctrl ctrlSetPosition [0.4,0.4,0.2,0.2]; _ctrl ctrlSetBackgroundColor [0,1,0,1]; _ctrl ctrlsetText "test"; _ctrlb ctrlSetPosition [0,0,1,1]; _ctrlb ctrlSetBackgroundColor [1,0,0,1]; _button ctrlSetPosition [0.1,0.8,0.2,0.1]; _button buttonSetAction "closeDialog 1600"; _button ctrlsetText "close"; _ctrl ctrlCommit 0; _ctrlb ctrlCommit 0; _button ctrlCommit 0; Share this post Link to post Share on other sites
t0by2k1 10 Posted April 19, 2014 (edited) Thanks a lot! I will take a look at it! Edit: Found this: http://dbmst.blogspot.de/2013/05/arma-configfile-display-idd-list.html So you can use the Dialog RscDisplayWelcome and set you content pretty nice with structuredText! :-) e.g. A3S_fnc_OpenA3SDialog = { createDialog "RscDisplayWelcome"; disableSerialization; // dialog modification }; publicVariable "A3S_fnc_OpenA3SDialog"; [[],"A3S_fnc_OpenA3SDialog",_oPlayer,true] spawn BIS_fnc_mp; Edited April 19, 2014 by like2k1@googlemail.com Share this post Link to post Share on other sites