nerexis 9 Posted June 12, 2021 Hello, does anyone know what is IDD of "hint" sqf command triggered gui msg box? It seems my infistar is blocking it and I'm not sure what IDD to whitelist. Share this post Link to post Share on other sites
7erra 629 Posted June 12, 2021 The idd is 301. Though it seems weird that infistart is able to block that as it is not a display but rather a subclass of RscInGameUI which sqf has no control over... Share this post Link to post Share on other sites
nerexis 9 Posted June 12, 2021 I have 301 whitelisted but it still doesnt work: /* Use IDD White-List ? */ UDW = "true"; /* allowedIDDs: Insert IDDs here to prevent them from being closed! */ allowedIDDs[] = { /* default idds */ -1,0,4,5,6,8,12,15,18,24,49,54,55,70,72,101,160,174,177,999,131,63,602, //InGameUI 300,301,302,303,304,305, Share this post Link to post Share on other sites
nerexis 9 Posted June 12, 2021 I found the way how infistar makes it disappear. So it has function called when frame is rendered which invokes hintSilent ""; command which clears the message: dupecheck_d3dcode = { hintSilent ""; (findDisplay 602) displayRemoveAllEventHandlers "MouseButtonUp"; (findDisplay 602) displaySetEventHandler ["MouseButtonUp","mousebuttonupinventory = diag_tickTime; "]; if(cameraView isEqualTo "GROUP")then { cameraOn switchCamera "INTERNAL"; systemChat "<infiSTAR.de> TacticalView is not allowed to be used!"; }; false }; 1 Share this post Link to post Share on other sites
pierremgi 4739 Posted June 12, 2021 29 minutes ago, 7erra said: The idd is 301. Hello, How did you find it? I thought it was in a generic 999 display for RscDisplayCommonHint with onLoad: uinamespace setvariable ['Hsim_RscDisplayCommonHint',_this select 0]; Share this post Link to post Share on other sites
nerexis 9 Posted June 12, 2021 The IDD 301 is mentioned in https://community.bohemia.net/wiki/Arma_3:_IDD_List as IDD_HINT 1 Share this post Link to post Share on other sites
7erra 629 Posted June 12, 2021 46 minutes ago, pierremgi said: How did you find it? Looked throught the config.cpp of \a3\ui_f for a class containing the string "hint". I knew that the hint command only works with string and structured text so the control that displays the text can only be a RscStructuredText control. When I found some possible candidates I copied their config into a description.ext of a test mission and created the display to see what it looks like and the RscHint was the right one. 1 Share this post Link to post Share on other sites
7erra 629 Posted June 12, 2021 48 minutes ago, nerexis said: The IDD 301 is mentioned in https://community.bohemia.net/wiki/Arma_3:_IDD_List as IDD_HINT Interesting since you can't actually use it Share this post Link to post Share on other sites