Jump to content

bull_a

Member
  • Content Count

    305
  • Joined

  • Last visited

  • Medals

  • Medals

Posts posted by bull_a


  1. Ok so no joy from my end:

    _controlRtn = "";
    _lineBreak = toString [13,10];
    _displays = uiNamespace getVariable "IGUI_Displays";
    _displays = _displays + allDisplays;
    {
      _controlRtn = _controlRtn + "========================================";
      _controlRtn = _controlRtn + _lineBreak + (str _x) + _lineBreak;
      _controls = allControls _x;
      for "_i" from 0 to ((count _controls) - 1) do {
        _control = _controls select _i;
        _controlRtn = _controlRtn + (format ["Control: %1   Type: %2",_control,(ctrlType _control)]) + _lineBreak;
      };
    } forEach _displays;
    copyToClipboard _controlRtn;

    Output:

    Spoiler

    ========================================
    Display #305
    Control: Control #193   Type: 0
    ========================================
    Display #315
    Control: Control #1000   Type: 0
    Control: Control #15110   Type: 0
    Control: Control #103   Type: 0
    Control: Control #103   Type: 0
    Control: Control #104   Type: 0
    Control: Control #105   Type: 0
    Control: Control #102   Type: 0
    ========================================
    Display #303
    Control: Control #1201   Type: 0
    Control: Control #188   Type: 0
    ========================================
    Display #303
    Control: Control #1201   Type: 0
    Control: Control #188   Type: 0
    ========================================
    Display #303
    Control: Control #1201   Type: 0
    Control: Control #188   Type: 0
    ========================================
    Display #316
    Control: Control #1000   Type: 0
    Control: Control #15110   Type: 0
    Control: Control #103   Type: 0
    Control: Control #103   Type: 0
    Control: Control #104   Type: 0
    Control: Control #105   Type: 0
    Control: Control #102   Type: 0
    ========================================
    Display #319
    Control: Control #1000   Type: 0
    Control: Control #15110   Type: 0
    Control: Control #103   Type: 0
    Control: Control #103   Type: 0
    Control: Control #104   Type: 0
    Control: Control #105   Type: 0
    Control: Control #102   Type: 0
    ========================================
    Display #303
    Control: Control #1201   Type: 0
    Control: Control #188   Type: 0
    ========================================
    Display #300
    Control: Control #168   Type: 0
    ========================================
    Display #300
    Control: Control #168   Type: 0
    ========================================
    Display #300
    Control: Control #2302   Type: 15
    Control: Control #1202   Type: 0
    Control: Control #1001   Type: 0
    Control: Control #1008   Type: 0
    Control: Control #1203   Type: 0
    Control: Control #154   Type: 8
    Control: Control #118   Type: 0
    Control: Control #187   Type: 0
    Control: Control #149   Type: 0
    Control: Control #184   Type: 0
    Control: Control #185   Type: 0
    Control: Control #155   Type: 0
    Control: Control #152   Type: 0
    Control: Control #151   Type: 0
    Control: Control #150   Type: 0
    Control: Control #380   Type: 0
    Control: Control #382   Type: 0
    ========================================
    Display #303
    Control: Control #1201   Type: 0
    Control: Control #188   Type: 0
    ========================================
    Display #0
    Control: Control #999   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #998   Type: 0
    Control: Control #115   Type: 1
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #1021   Type: 15
    Control: Control #-1   Type: 15
    Control: Control #1023   Type: 0
    Control: Control #1024   Type: 0
    Control: Control #1025   Type: 15
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #1027   Type: 0
    Control: Control #1027   Type: 0
    Control: Control #1029   Type: 0
    Control: Control #1028   Type: 13
    Control: Control #1026   Type: 1
    Control: Control #1020   Type: 0
    Control: Control #1022   Type: 15
    Control: Control #-1   Type: 15
    Control: Control #1023   Type: 0
    Control: Control #1024   Type: 0
    Control: Control #1025   Type: 15
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #1027   Type: 0
    Control: Control #1027   Type: 0
    Control: Control #1029   Type: 0
    Control: Control #1028   Type: 13
    Control: Control #1026   Type: 1
    Control: Control #1060   Type: 11
    Control: Control #1061   Type: 11
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 11
    Control: Control #-1   Type: 11
    Control: Control #1011   Type: 16
    Control: Control #1111   Type: 1
    Control: Control #1001   Type: 15
    Control: Control #101   Type: 16
    Control: Control #150   Type: 16
    Control: Control #151   Type: 16
    Control: Control #103   Type: 16
    Control: Control #142   Type: 16
    Control: Control #1012   Type: 16
    Control: Control #1112   Type: 1
    Control: Control #1002   Type: 15
    Control: Control #154   Type: 16
    Control: Control #105   Type: 16
    Control: Control #206   Type: 16
    Control: Control #1013   Type: 16
    Control: Control #1113   Type: 1
    Control: Control #1003   Type: 15
    Control: Control #149   Type: 16
    Control: Control #152   Type: 16
    Control: Control #203   Type: 16
    Control: Control #143   Type: 16
    Control: Control #204   Type: 16
    Control: Control #1014   Type: 16
    Control: Control #1114   Type: 1
    Control: Control #1004   Type: 15
    Control: Control #301   Type: 16
    Control: Control #302   Type: 16
    Control: Control #303   Type: 16
    Control: Control #307   Type: 16
    Control: Control #140   Type: 16
    Control: Control #1015   Type: 1
    Control: Control #1005   Type: 15
    Control: Control #109   Type: 16
    Control: Control #155   Type: 1
    Control: Control #106   Type: 1
    Control: Control #1030   Type: 15
    Control: Control #1034   Type: 0
    Control: Control #1035   Type: 0
    Control: Control #1036   Type: 0
    Control: Control #1037   Type: 16
    Control: Control #141   Type: 15
    Control: Control #10311   Type: 15
    Control: Control #1034   Type: 0
    Control: Control #1035   Type: 0
    Control: Control #1036   Type: 0
    Control: Control #1037   Type: 16
    Control: Control #145   Type: 15
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #1031   Type: 15
    Control: Control #1034   Type: 0
    Control: Control #1035   Type: 0
    Control: Control #1036   Type: 0
    Control: Control #1037   Type: 16
    Control: Control #144   Type: 15
    Control: Control #1032   Type: 15
    Control: Control #1034   Type: 0
    Control: Control #1035   Type: 0
    Control: Control #1036   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #1039   Type: 0
    Control: Control #1037   Type: 16
    Control: Control #1033   Type: 15
    Control: Control #1034   Type: 0
    Control: Control #1035   Type: 0
    Control: Control #1036   Type: 0
    Control: Control #118   Type: 0
    Control: Control #1050   Type: 0
    Control: Control #1039   Type: 0
    Control: Control #1037   Type: 16
    Control: Control #1038   Type: 16
    Control: Control #-1   Type: 0
    Control: Control #104   Type: 16
    Control: Control #-1   Type: 16
    Control: Control #1123   Type: 15
    Control: Control #-1   Type: 15
    Control: Control #1023   Type: 0
    Control: Control #1024   Type: 0
    Control: Control #1025   Type: 15
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #1027   Type: 0
    Control: Control #1027   Type: 0
    Control: Control #1029   Type: 0
    Control: Control #1028   Type: 13
    Control: Control #1026   Type: 1
    ========================================
    Display #313
    Control: Control #51   Type: 101
    Control: Control #52   Type: 0
    Control: Control #46   Type: 0
    Control: Control #47   Type: 0
    Control: Control #48   Type: 0
    Control: Control #49   Type: 0
    Control: Control #87   Type: 0
    Control: Control #998   Type: 0
    Control: Control #2   Type: 1
    Control: Control #76   Type: 0
    Control: Control #120   Type: 47
    Control: Control #1000   Type: 15
    Control: Control #1001   Type: 0
    Control: Control #1002   Type: 15
    Control: Control #1006   Type: 1
    Control: Control #1007   Type: 1
    Control: Control #1008   Type: 1
    Control: Control #10091   Type: 1
    Control: Control #-1   Type: 0
    Control: Control #1003   Type: 15
    Control: Control #1010   Type: 1
    Control: Control #1011   Type: 1
    Control: Control #-1   Type: 0
    Control: Control #1004   Type: 15
    Control: Control #10041   Type: 77
    Control: Control #10042   Type: 77
    Control: Control #10043   Type: 77
    Control: Control #10044   Type: 77
    Control: Control #10045   Type: 77
    Control: Control #-1   Type: 0
    Control: Control #1005   Type: 15
    Control: Control #1016   Type: 77
    Control: Control #1017   Type: 77
    Control: Control #1018   Type: 77
    Control: Control #-1   Type: 0
    Control: Control #1024   Type: 15
    Control: Control #1025   Type: 77
    Control: Control #1026   Type: 4
    Control: Control #1027   Type: 77
    Control: Control #1028   Type: 4
    Control: Control #1029   Type: 77
    Control: Control #1030   Type: 4
    Control: Control #-1   Type: 0
    Control: Control #10301   Type: 15
    Control: Control #10302   Type: 1
    Control: Control #10303   Type: 77
    Control: Control #10305   Type: 77
    Control: Control #10304   Type: 1
    Control: Control #10306   Type: 4
    Control: Control #10251   Type: 15
    Control: Control #10310   Type: 1
    Control: Control #10312   Type: 13
    Control: Control #1031   Type: 1
    Control: Control #1019   Type: 15
    Control: Control #-1   Type: 0
    Control: Control #1032   Type: 1
    Control: Control #1033   Type: 6
    Control: Control #1020   Type: 0
    Control: Control #1037   Type: 15
    Control: Control #-1   Type: 0
    Control: Control #80   Type: 2
    Control: Control #81   Type: 1
    Control: Control #-1   Type: 1
    Control: Control #-1   Type: 1
    Control: Control #55   Type: 12
    Control: Control #-1   Type: 15
    Control: Control #-1   Type: 0
    Control: Control #85   Type: 1
    Control: Control #84   Type: 1
    Control: Control #86   Type: 1
    Control: Control #1065   Type: 1
    Control: Control #1064   Type: 1
    Control: Control #1038   Type: 15
    Control: Control #-1   Type: 0
    Control: Control #1042   Type: 2
    Control: Control #1043   Type: 1
    Control: Control #75   Type: 12
    Control: Control #1034   Type: 1
    Control: Control #1021   Type: 15
    Control: Control #-1   Type: 0
    Control: Control #1034   Type: 1
    Control: Control #1036   Type: 6
    Control: Control #1022   Type: 0
    Control: Control #1039   Type: 15
    Control: Control #-1   Type: 0
    Control: Control #1060   Type: 6
    Control: Control #53   Type: 6
    Control: Control #54   Type: 6
    Control: Control #1049   Type: 15
    Control: Control #4242   Type: 4
    Control: Control #82   Type: 2
    Control: Control #83   Type: 1
    Control: Control #-1   Type: 1
    Control: Control #-1   Type: 1
    Control: Control #56   Type: 12
    Control: Control #57   Type: 12
    Control: Control #58   Type: 12
    Control: Control #59   Type: 12
    Control: Control #60   Type: 12
    Control: Control #61   Type: 12
    Control: Control #62   Type: 12
    Control: Control #63   Type: 12
    Control: Control #64   Type: 12
    Control: Control #65   Type: 12
    Control: Control #71   Type: 12
    Control: Control #68   Type: 12
    Control: Control #6900000   Type: 12
    Control: Control #66   Type: 12
    Control: Control #67   Type: 12
    Control: Control #69   Type: 12
    Control: Control #70   Type: 12
    Control: Control #1062   Type: 15
    Control: Control #-1   Type: 0
    Control: Control #1063   Type: 77
    Control: Control #-1   Type: 0
    Control: Control #1061   Type: 15
    Control: Control #-1   Type: 0
    Control: Control #90   Type: 1
    Control: Control #91   Type: 1
    Control: Control #93   Type: 1
    Control: Control #92   Type: 1
    Control: Control #1040   Type: 15
    Control: Control #-1   Type: 0
    Control: Control #74   Type: 5
    Control: Control #98   Type: 15
    Control: Control #-1   Type: 0
    Control: Control #99   Type: 0
    Control: Control #1023   Type: 16
    Control: Control #1044   Type: 5
    Control: Control #1050   Type: 15
    Control: Control #1051   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #1052   Type: 2
    Control: Control #-1   Type: 0
    Control: Control #1053   Type: 2
    Control: Control #-1   Type: 0
    Control: Control #1054   Type: 2
    Control: Control #-1   Type: 0
    Control: Control #1055   Type: 2
    Control: Control #1057   Type: 2
    Control: Control #1058   Type: 0
    Control: Control #1059   Type: 0
    ========================================
    Display #70
    Control: Control #114998   Type: 0
    Control: Control #115099   Type: 15
    Control: Control #114999   Type: 0
    Control: Control #1080   Type: 0
    Control: Control #1081   Type: 0
    Control: Control #1082   Type: 0
    Control: Control #1083   Type: 0
    Control: Control #1084   Type: 0
    Control: Control #1085   Type: 0
    Control: Control #1086   Type: 0
    Control: Control #1087   Type: 0
    Control: Control #1088   Type: 0
    Control: Control #1000   Type: 0
    Control: Control #1002   Type: 0
    Control: Control #101   Type: 0
    Control: Control #1006   Type: 0
    Control: Control #102   Type: 0
    Control: Control #1008   Type: 0
    Control: Control #125   Type: 11
    Control: Control #126   Type: 11
    Control: Control #127   Type: 11
    Control: Control #701   Type: 0
    Control: Control #121   Type: 0
    Control: Control #1004   Type: 0
    Control: Control #103   Type: 0
    Control: Control #104   Type: 11
    Control: Control #105   Type: 11
    Control: Control #106   Type: 11
    Control: Control #107   Type: 11
    Control: Control #132   Type: 11
    Control: Control #131   Type: 11
    Control: Control #109   Type: 5
    Control: Control #114   Type: 104
    Control: Control #117   Type: 16
    Control: Control #118   Type: 16
    Control: Control #128   Type: 16
    Control: Control #130   Type: 16
    Control: Control #116   Type: 16
    Control: Control #1   Type: 16
    Control: Control #2   Type: 16
    Control: Control #108   Type: 0
    Control: Control #1013   Type: 0
    Control: Control #1015   Type: 0
    Control: Control #133   Type: 1
    Control: Control #134   Type: 0
    Control: Control #135   Type: 1
    Control: Control #136   Type: 0
    Control: Control #137   Type: 77
    ========================================
    Display #46
    Control: Control #1202   Type: 0
    Control: Control #11400   Type: 15
    Control: Control #1001   Type: 0
    Control: Control #1000   Type: 0
    Control: Control #11406   Type: 15
    Control: Control #1010   Type: 0
    Control: Control #102   Type: 0
    Control: Control #100   Type: 0
    Control: Control #1011   Type: 0
    Control: Control #101   Type: 0
    Control: Control #-1   Type: 15
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 15
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 15
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    ========================================
    Display #49
    Control: Control #114998   Type: 0
    Control: Control #115099   Type: 15
    Control: Control #114999   Type: 0
    Control: Control #115000   Type: 0
    Control: Control #115001   Type: 0
    Control: Control #115002   Type: 0
    Control: Control #115003   Type: 0
    Control: Control #115004   Type: 0
    Control: Control #115005   Type: 0
    Control: Control #115010   Type: 0
    Control: Control #115011   Type: 0
    Control: Control #115012   Type: 0
    Control: Control #115013   Type: 0
    Control: Control #115014   Type: 0
    Control: Control #115015   Type: 0
    Control: Control #115020   Type: 0
    Control: Control #115021   Type: 0
    Control: Control #115022   Type: 0
    Control: Control #115023   Type: 0
    Control: Control #115024   Type: 0
    Control: Control #115025   Type: 0
    Control: Control #115030   Type: 0
    Control: Control #115031   Type: 0
    Control: Control #115032   Type: 0
    Control: Control #115033   Type: 0
    Control: Control #115034   Type: 0
    Control: Control #115035   Type: 0
    Control: Control #115040   Type: 0
    Control: Control #115041   Type: 0
    Control: Control #115042   Type: 0
    Control: Control #115043   Type: 0
    Control: Control #115044   Type: 0
    Control: Control #115045   Type: 0
    Control: Control #115050   Type: 0
    Control: Control #115051   Type: 0
    Control: Control #115052   Type: 0
    Control: Control #115053   Type: 0
    Control: Control #115054   Type: 0
    Control: Control #115055   Type: 0
    Control: Control #1050   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #1000   Type: 0
    Control: Control #1001   Type: 0
    Control: Control #523   Type: 0
    Control: Control #120   Type: 0
    Control: Control #109   Type: 0
    Control: Control #2   Type: 16
    Control: Control #103   Type: 16
    Control: Control #1002   Type: 16
    Control: Control #1010   Type: 16
    Control: Control #101   Type: 16
    Control: Control #301   Type: 16
    Control: Control #302   Type: 16
    Control: Control #303   Type: 16
    Control: Control #307   Type: 16
    Control: Control #122   Type: 16
    Control: Control #104   Type: 16
    Control: Control #13184   Type: 15
    Control: Control #11884   Type: 0
    Control: Control #11891   Type: 9
    Control: Control #11885   Type: 0
    Control: Control #11892   Type: 0
    Control: Control #12284   Type: 2
    Control: Control #1   Type: 16
    Control: Control #13285   Type: 16
    Control: Control #13286   Type: 16
    Control: Control #13284   Type: 16
    Control: Control #11886   Type: 0
    Control: Control #11893   Type: 0
    Control: Control #12285   Type: 2
    Control: Control #11887   Type: 0
    Control: Control #12286   Type: 2
    Control: Control #12287   Type: 2
    Control: Control #11888   Type: 0
    Control: Control #12288   Type: 2
    Control: Control #12289   Type: 2
    Control: Control #11889   Type: 0
    Control: Control #12290   Type: 2
    Control: Control #12291   Type: 2
    Control: Control #11890   Type: 0
    Control: Control #12293   Type: 2
    Control: Control #13287   Type: 16
    Control: Control #13288   Type: 16
    Control: Control #13289   Type: 16
    Control: Control #13290   Type: 16
    Control: Control #13291   Type: 16
    Control: Control #13292   Type: 16
    Control: Control #1005   Type: 0
    Control: Control #121   Type: 11
    Control: Control #6455   Type: 9
    Control: Control #2351   Type: 15
    Control: Control #235100   Type: 0
    Control: Control #235101   Type: 0
    Control: Control #235102   Type: 13
    Control: Control #235103   Type: 0
    Control: Control #235104   Type: 0
    Control: Control #235105   Type: 0
    Control: Control #235106   Type: 16
    Control: Control #235107   Type: 16
    ========================================
    Display #12
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #-1   Type: 0
    Control: Control #51   Type: 101
    Control: Control #1102   Type: 0
    Control: Control #1101   Type: 0
    Control: Control #1100   Type: 0
    Control: Control #2350   Type: 15
    Control: Control #235000   Type: 0
    Control: Control #235001   Type: 13
    Control: Control #235002   Type: 13
    Control: Control #235003   Type: 13
    Control: Control #235004   Type: 13
    Control: Control #235005   Type: 0
    Control: Control #235006   Type: 0
    Control: Control #1016   Type: 0
    Control: Control #1020   Type: 0
    Control: Control #1200   Type: 0
    Control: Control #1021   Type: 0
    Control: Control #1022   Type: 0
    Control: Control #1023   Type: 0
    Control: Control #2   Type: 11
    Control: Control #112   Type: 0
    Control: Control #2302   Type: 15
    Control: Control #111   Type: 0
    Control: Control #1014   Type: 0
    Control: Control #116   Type: 0
    Control: Control #1205   Type: 0
    Control: Control #1090   Type: 4
    Control: Control #1091   Type: 4
    Control: Control #1202   Type: 11
    Control: Control #1201   Type: 11
    Control: Control #1204   Type: 0
    Control: Control #101   Type: 0
    Control: Control #107   Type: 0
    Control: Control #1001   Type: 104
    Control: Control #1002   Type: 104
    Control: Control #117   Type: 1
    Control: Control #118   Type: 0
    Control: Control #119   Type: 77
    Control: Control #1013   Type: 15
    Control: Control #1003   Type: 9
    Control: Control #106   Type: 15
    Control: Control #75   Type: 0
    Control: Control #77   Type: 0
    Control: Control #1008   Type: 0
    Control: Control #78   Type: 0
    Control: Control #1015   Type: 0
    Control: Control #1005   Type: 0
    Control: Control #103   Type: 15
    Control: Control #63   Type: 11
    Control: Control #64   Type: 11
    Control: Control #65   Type: 11
    Control: Control #66   Type: 11
    Control: Control #67   Type: 11
    Control: Control #68   Type: 11
    Control: Control #69   Type: 11
    Control: Control #70   Type: 11
    Control: Control #71   Type: 11
    Control: Control #72   Type: 11
    Control: Control #1099   Type: 0
    Control: Control #88800   Type: 15
    Control: Control #88802   Type: 0
    Control: Control #88803   Type: 0
    Control: Control #88804   Type: 0
    Control: Control #88801   Type: 0
    Control: Control #88870   Type: 0
    Control: Control #88871   Type: 13
    Control: Control #88872   Type: 13
    Control: Control #88811   Type: 16
    Control: Control #88808   Type: 5
    Control: Control #88809   Type: 5
    Control: Control #88826   Type: 13
    Control: Control #88806   Type: 13
    Control: Control #88830   Type: 11
    Control: Control #88827   Type: 13
    Control: Control #88805   Type: 13
    Control: Control #88874   Type: 0
    Control: Control #88875   Type: 13
    Control: Control #88876   Type: 13
    Control: Control #88828   Type: 13
    Control: Control #88807   Type: 13
    Control: Control #88877   Type: 0
    Control: Control #88878   Type: 13
    Control: Control #88879   Type: 13
    Control: Control #88829   Type: 16
    Control: Control #88831   Type: 13
    Control: Control #88813   Type: 4
    Control: Control #88814   Type: 16
    Control: Control #88822   Type: 0
    Control: Control #88823   Type: 0
    Control: Control #88824   Type: 0
    Control: Control #88825   Type: 0
    Control: Control #88815   Type: 0
    Control: Control #88816   Type: 0
    Control: Control #88817   Type: 0
    Control: Control #88818   Type: 0
    Control: Control #88819   Type: 13
    Control: Control #88820   Type: 13
    Control: Control #88821   Type: 13
    Control: Control #88832   Type: 13
    Control: Control #88833   Type: 13
    Control: Control #88834   Type: 13
    Control: Control #88850   Type: 15
    Control: Control #88851   Type: 0
    Control: Control #88852   Type: 13
    Control: Control #88853   Type: 1
    Control: Control #88860   Type: 15
    Control: Control #88861   Type: 13
    Control: Control #1124   Type: 0
    Control: Control #1125   Type: 13
    Control: Control #400   Type: 15
    Control: Control #4001   Type: 0
    Control: Control #4002   Type: 13
    Control: Object Control #102   Type: 81


    I thought that it was maybe this control: "RscCustomInfoMiniMap" but that display did not appear in the list. So I tried running a loop in the mission to see whether Display #317 is ever loaded:

    _nul = [] spawn {
      while {true} do {
        _displaysUnique = [];
        _displays = allDisplays + (uiNamespace getVariable ["IGUI_Displays",[]]);
        { _displaysUnique pushBackUnique _x } forEach _displays;
        {
          systemChat format ["%2 Display: %1",(ctrlIDD _x),diag_tickTime];
        } forEach _displaysUnique;
        systemChat "========================================";
        sleep 5;
      };
    };

    It does not ever appear in the list. Not going to give up, but going to concede this round 


  2. Hi all,

     

    I have found the problem. @fn_Quiksilver thank you for the code example. However, I have been running this through on the 'Dev-Branch' and found out that the 'new' mini-map cannot be hooked into using the above methods. The code from the first post was found to have worked on the 'release' branch but not on the 'Dev-Branch'. I am currently investigating why this is not possible and will update this topic with any findings

     

    Bull


  3. Hi all,

     

    I'm in a spot of bother with trying to return the mini-map control (whilst in multiplayer). I have looked at this topic but am unable to get the script working. Here is what I have so far:

    // add group draw handler to mini-map
    _nul = [] spawn {
      disableSerialization;
      _ctrlMiniMap = controlNull;
    
      // search loop to return mini-map map control
      while {isNull _ctrlMiniMap} do {
    	{
          _ctrlMiniMap = _x displayCtrl 101;
          if !(isNull _ctrlMiniMap) exitWith {true;};
        } count (uiNamespace getVariable ["IGUI_Displays",[]]);
    	sleep 0.1;
      };
    
      // adds draw handler
      _ctrlMiniMap ctrlAddEventHandler ["Draw",{_nul = _this call RAD_fnc_groupMarkersMapDraw;}];
    };

    I have run both the script from the topic (see above) and my modified version. Both offer no success, any ideas or examples for how to get this working would be greatly appreciated?

     

    Thanks,

    Bull


  4. Try something like this:

     

    class RscSlider;
    
    class nevDebugMenu {
    	duration = 99999;
    	idd = 80000;
    	onLoad = "_nul = [""onLoad"",this] call NEV_fnc_nevDebugMenu;"; // changed expression and function call
    	class controls {
    		// A slider to change the overcast value (look at RscXSlider - more pretty version of RscSlider)
    		class overcastSlider: RscSlider {
    		    idc = 80003;
    		    x = "SafeZoneX + (960 / 1920) * SafeZoneW";
    		    y = "SafeZoneY + (285 / 1080) * SafeZoneH";
    		    w = "(200 / 1920) * SafeZoneW";
    		    h = "(30 / 1080) * SafeZoneH";
    		    type = CT_SLIDER;
    		    style = SL_HORZ;
    		    tooltip = "Change overcast";
                        onSliderPosChanged = "_nul = [""sliderMoved"",this] call NEV_fnc_nevDebugMenu;"; // added onSliderPosChanged event handler
    		};
    	};
    };

    NEV_fnc_nevDebugMenu:

     

    Just as a heads up, the overcast values range from 0 to 1, as such, I have ammended your sliders range values. It is better to describe functions in the CfgFunctions and let the game handle this for you. From preference I try to bundle the display script/handler functions in to one program and switch between different modes (best to only use this for up to 10 different modes).

    // check if calling machine has interface
    if !(hasInterface) exitWith {};
    
    _this params [
    	["_mode","",[""]],
    	["_params",[],[[]]]
    ];
    
    switch (_mode) do {
    	//-------------------------------------------------------
    	// onload - executed when interface load handler is fired
    	case "onLoad" : { 
    		_params params [
    			["_display",displayNull,[displayNull]]
    		];
    
    		// check if display was passed
    		if (isNull _display) exitWith {};
    
    		// set slider position
    		_sliderCtrl = _display displayCtrl 80003;
    		_sliderCtrl sliderSetRange [0,1];
    		_sliderCtrl sliderSetPos 0.5;
    	};
    	//-------------------------------------------------------
    	// sliderMoved - executed when slider position is changed
    	case "sliderMoved" : {
    		_params params [
    			["_sliderCtrl",controlNull,[controlNull]],
    			["_sliderPos",0,[0]]
    		];
    
    		// check control was passed
    		if (isNull _sliderCtrl) exitWith {};
    
    		// get display to update other controls
    		_display = ctrlParent _sliderCtrl;
    
    		// set the overcast from slider value
    		0 setOvercast _sliderPos;
    		forceWeatherChange; // submits the change (best to have this on a submit button as it needs to sync to all clients)
    	};
    	//-------------------------------------------------------
    	// default case - displays error message for invalid mode
    	default {
    		_nul = ["NEV_fnc_debugMenu: '_mode' was invalid!"] call BIS_fnc_error;
    	};
    };
              

    (I haven't tested this code)

     

    Hope this helps point you in the right direction :)

     

    Bull

    • Like 1

  5. You could do something like this:

    _playerPos = getPosWorld player;
    while {surfaceIsWater _playerPos} do {
    	if ((getOxygenRemaining player) < 1) then {
        	player setOxygenRemaining 1;
    	};
    
    	// update position var and delay
        _playerPos = getPosWorld player;
    	sleep 1;
    };

    For what you want you will have to modify it slightly, but it's a start :)

     

    Hope that helps,

     

    Bull


  6. What I would add to this is to keep all your admin scripts/functions on the server so that it is harder for clients (and potential hackers) to be able to get access to them and to execute them. Also, with regards to remote executing and security you may also want to have a look at this page: https://community.bistudio.com/wiki/Arma_3_Remote_Execution

     

    It might  be worth building in something into the server config/game files that has the ability to 'whitelist' player UID's when attempting to remoteExec certain functions

     

    Hope this is useful,

    Bull

     

     

    • Like 1

  7. Have a look at thew following page:

    https://community.bistudio.com/wiki/Arma_3_Mission_Parameters

     

    It is possible to setup custom view distances as part of the 'Mission Parameters'. Other than that, you will need to use the commands setViewDistance and setObjectViewDistance. From what I have seen in the past, if you remove the attributes above from the server.armaprofile it will use the mission parameter value/client value. Forcing players to have a specific view distance (default is 1600m) is good for small-scale PvP scenarios, like what is done in Project Argo, but for more expansive and combined arms game play I would suggest to leave these settings open to players to set. One of the better interfaces is CH View distance, which is both available as Addon and also in 'mission form'.

     

    Hope that helps


  8. Pretty sure you cant create a blur texture as this would be more of a post-process effect

    If you want to blur the screen you can create one of these effects using ppEffectCreate. One good example of where this effect is used is the BIS_fnc_halo function.

     

    There are two options to accomplish what you want:

    • Blur the screen then use the createDialog command to create you interface (do this if this it is not a custom interface)
    • Create the interface, use the 'onLoad' UI Event handler to then execute a script which loads the interface content and blurs the screen (for custom screens only)
      • You can also then use the 'onUnload' event to clear the blur when the interface is closed.

     

    Hope this helps,

     

    Bull


  9. Hi all,

    sorry if this has already been posted but I was unable to find a specific topic. I am trying to separate out different xml nodes into external documents to make maintaining them a bit easier. However, I have hit a bit of a bump in that xml does not benefit from pre-processor commands such as the '#include' command. I have looked into externally parsing entities but was unsure if the engine would limit the use of this. This solution would be perfect for what I am attempting to do but as far as I can tell this is not working.

    Seeing as I don't think this will work, does anyone know of some good programs that would be able to merge selected xml files into one file? My folder setup is as follows:

    | Mission Root
    |_ stringtable.xml
    |_ stringtables
      |_stringtable_1.xml
      |_stringtable_3.xml
      |_stringtable_2.xml
    

    Ideally what is needed is something to take all the xml files in this folder and merge them into the stringtable.xml file. Any suggestions? Also, if anyone has been able to use a method to efficiently merge xml files, would you be kind enough to share it to the rest of the community?

    Kind regards,

    Bull


  10. Hi harmdhast,

     

    thanks for having a look, I have attached the source to the issue in the external link. This is how it looks in the script file:

    _return = "extdb3" callExtension "0:SQL:CALL SPFNC_TESTING()";
    _return = call compile _return;
    
    _return params [
      ["_key",0,[0]],
      ["_result",[],[]]
    ];
    
    if (_key isEqualTo 0) exitWith {
      diag_log "ERROR/fnc_log: 'CALL SPFNC_TESTING()' ended in error";
      nil; // returns nothing
    };
    
    // attempts to call again
    _return = "extdb3" callExtension "0:SQL:CALL SPFNC_TESTING()";
    _return = call compile _return;
    
    _return params [
      ["_key",0,[0]],
      ["_result",[],[]]
    ];
    
    if (_key isEqualTo 0) exitWith {
      diag_log "ERROR/fnc_log: 'CALL SPFNC_TESTING()' ended in error";
      nil; // returns nothing
    };
    
    

    (This is an edit/testing script - it is designed to return a result set from a SELECT query)

     

     

    The second query is what is returning the errors and log entry.

     

    Bull


  11. Hi all,

     

    I have already created a ticket for this on the ExtDB3 BitBucket issues page, but I just wanted to run this past the community as well. The problem I am getting is that when I try to call multiple stored procedures (one after the other) the first one executes and returns the expected results, however when the second (next) request is sent off it returns the following error message:

    [0,"Error MariaDBQueryException Exception"]
    

    I ran the ExtDB3 plugin with the debug .dll and .exe and I get the following messages in the debug files

    [21:06:08:265003 +00:00] [Thread 8196] extDB3: Input from Server: 0:SQL:CALL SPFNC_TESTING()
    [21:06:08:265073 +00:00] [Thread 8196] extDB3: SQL: Trace: Input: CALL SPFNC_TESTING()
    [21:06:08:265135 +00:00] [Thread 8196] extDB3: SQL: Error MariaDBQueryException: Commands out of sync; you can't run this command now
    [21:06:08:265148 +00:00] [Thread 8196] extDB3: SQL: Error MariaDBQueryException: Input: CALL SPFNC_TESTING()
    [21:06:08:265159 +00:00] [Thread 8196] extDB3: Output to Server: [0,"Error MariaDBQueryException Exception"] 

     (The source files are on the Issue page here)

     

    Has anyone come across this issue before, and know why this is happening? My initial though is that the CALL command is starting a new thread and is not ending when the procedure has returned/ended meaning that new calls to the extension will always return an error.

     

    When I pass the following code (please see below) to the extension, it resets the protocols and database connection and I can again send off a CALL command.

    9:RESET
    

    Any help or a point in the right direction is appreciated,

     

    Bull


  12. Hi all,

     

    I'm trying to set a rocks texture to a custom texture (at the moment I am testing using "#argb(8,8,3)color(1,1,0,1)").

     

    I have had a look in the config class for the rock I am using, "Land_BluntStone_02". However, there is no entry in the hiddenSelectionTextures attribute which is causing me to think this cannot be without modding. Has anyone had any luck with setting custom textures on the rock objects?

     

    Here is the code I am using for testing:

    // executed on object 'init'
    
    for "_i" from 0 to 100 step 1 do {
      this setObjectTexture [_i, "#argb(8,8,3)color(1,1,0,1)";
    }; 

    Any help or further testing is appreciated,

     

    Bull


  13. It could be to do with the map control alpha. The alpha for that display (off the top of my head it is RscDisplayStrategicMap) has been turned down/or is a a level with the black background can be seen. If you want it to be brighter I suggest you either create a mod that adjusts the "Black" control in "ControlsBackground" and set it to a light shade of grey.

     

    Or you can do this:

    _nul = [params] call BIS_fnc_StrategicMapOpen
    
    _nul = [] spawn {
      waitUntil {!isNull (findDisplay 506)};
      
      _display = findDisplay 506;
      _background = _display displayCtrl 1099;
    
      _background ctrlSetBackgroundColor [1,1,1,1];
    };

    (Code not tested)

     

    Hope this helps, or at least points you in the right direction.

     

    Bull


  14. Hi all,

     

    has anyone been able to successfully execute an addAction command on a simpleObject. The action ID is always returning as -1 indicating the action has not been added.

    _simpleVeh = createSimpleObject ["\a3\weapons_F\ammo\mag_univ.p3d",(getPosWorld player)];
    
    _actionID = _simpleVeh addAction ["Some action name", {hint "You picked it"}];
    systemChat str _actionID; // always displays -1
    

    I'm unsure as to why this is happening, maybe something to do with the simulation?!

     

     

    Thanks,

    Bull


  15. Hi all,

     

    as it's already known, large numbers in Arma use scientific notation, I believe this happens when the numeric becomes longer than 7 digits. I am trying to output a numeric to screen which has a length of 11 digits.

     

    The number is 12345678912

    • Twelve billion, three hundred and forty-five million, six hundred and seventy-eight thousand, nine hundred and twelve
    • 12,345,678,912
    • 1.23457e+010

     

    So storing the variable is not a problem, the database has been setup to accept integers with a length of 20, however, the problems start to arise when attempting to convert to a string and when attempting to compare and contrast similar numbers (i.e. are extremely close together).

     

    An example of this can be seen below

    _bool = 12345678912 < 12345678913;
    // _bool is returned as false 

    This is a problem with rounding when using scientific notation and unfortunately this cannot be worked around (as far as I know).

     

    Does anyone have a solution or a link to some documentation I could look at? Any help is appreciated.

     

     

    Thanks,

    Bull

     


  16. Another way of doing it (but would recommend the above method for a small list of objects). This method is best with scripts to return a list of objects in a trigger

    _trigger = someTrigger;
    _allObjects = [list of objects];
    _objectsInTrigger = [];
    {
     if ([_trigger,_x] call BIS_fnc_inTrigger) then {
      _objectsInTrigger pushBack _x;
     };
    } forEach _allObjects;
    
    // return
    _objectsInTrigger;
    

    (Un-tested)

     

     

    Hope this is helpful

×