Jump to content

DÄZ

Member
  • Content Count

    81
  • Joined

  • Last visited

  • Medals

Community Reputation

56 Excellent

2 Followers

About DÄZ

  • Rank
    Corporal

Profile Information

  • Gender
    Male
  • Location
    Sud de la France

Recent Profile Visitors

2853 profile views
  1. use a trigger on the hack object: !Alive pc_lumiere_off or use a Trigger variable = true/False; fn_power_plant.sqf: ex: condition --> !pc_power_plant;
  2. Very nice! I look forward to the release: D
  3. // sendMessage.sqf private _text = ctrlText 1400; private _datagetsender = lbdata [5690,(lbCurSel 5690)]; // get selected row invisible data _datagetsender = missionNamespace getVariable ( _datagetsender ); [format["SMS<br/>"], format["SMS PREVIEW:<br/>%1. <br/><br/>SENT FROM: %3 <br/><br/>SENT TO: %2",_text, _datagetsender, mapGridPosition player], [1,0,0,1]] call APX_fnc_showNotification; [profileName,_text] remoteExec ["APX_fnc_recieveMessage",_datagetsender]; example of how I use it: _index = lbCurSel 2100; _uid = lbData [2100, _index]; _code = ctrlText 1400; _text_admin_Err = format ["<t color='#F68617' >ERREUR: vous n'avez pas rentrer de code </t><br />"]; _text_admin_Err_joueur = format ["<t color='#F68617' >Erreur: Aucun Joueur sélectionnée </t><br />"]; if (_uid == "") exitWith {hint parseText (_text_admin_Err_joueur);}; if (_code == "") exitWith {hint parseText (_text_admin_Err); }; _uid = missionNamespace getVariable ( _uid ); _text_admin = format ["<t color='#495CFF' >Code exécuté: sur %1</t><br />",name _uid]; hint parseText (_text_admin); _code remoteExec ["DAZ_BCM_ADMIN_fnc_Execute", _uid]; sleep 2; hint "";
  4. try this _datagetsender = missionNamespace getVariable ( _datagetsender ); //or _datagetsender = missionNamespace getVariable ( lbData [ 5690, lbCurSel 5690 ] );
  5. you can also book a function like this in the init: //[] call zagor64bz_fnc_test_Function1; zagor64bz_fnc_test_Function1 = compile preprocessFileLineNumbers "Functions\fn_yourFunction.sqf"; personally I prefer to go through the description.ext: https://community.bistudio.com/wiki/Functions_Library_(Arma_3)#Folder_Path // Exemple: // [] call zagor64bz_fnc_YourFunction_1 // [] call zagor64bz_fnc_YourFunction_2 // [] call zagor64bz_fnc_YourFunction_3 class CfgFunctions { class zagor64bz { class Functions { file = "fnc"; class YourFunction_1 {}; // fnc\fn_YourFunction_1.sqf class YourFunction_2 {}; // fnc\fn_YourFunction_2.sqf class YourFunction_3 {}; // fnc\fn_YourFunction_3.sqf }; }; };
  6. yessss, you have enlightened me, It works now. thank you, friend just use the class RscStructuredText and not RscText of define.hpp https://community.bistudio.com/wiki/DialogControls-Text#CT_STRUCTURED_TEXT.3D13 //class RscText_1000: DAZ_BCM_RscText // <-- bad class class RscText_1000: MyRscStructuredText { idc = 1000; onLoad = "ExecVM 'time.sqf';"; x = 17 * GUI_GRID_W + GUI_GRID_X; y = -5.5 * GUI_GRID_H + GUI_GRID_Y; w = 7.5 * GUI_GRID_W; h = 1 * GUI_GRID_H; }; }; resolved, thank
  7. the ctrlSetText it works !!! _dialog = findDisplay 1984; _time = "test time"; (_dialog displayCtrl 1000) ctrlSetText _time;
  8. still does not work in the GUI, I have no display, I have to do something wrong.
  9. thank you it works well in the debug, how to integrate in the GUI?
  10. hi, i was trying to display the mission time on a GUI. I can display a text, no worries! For now, whatever I try, it does not work! DAZ_BCM_test_time.hpp: class DAZ_BCM_test_time { idd = 1984; movingEnable = true; controlsBackground[] = {IGUIBack_2200, IGUIBack_2201}; onLoad = "" ; objects[] = {}; controls[]= { RscText_1000 }; class IGUIBack_2200: DAZ_BCM_IGUIBack { idc = 2200; moving = 1; x = 5 * GUI_GRID_W + GUI_GRID_X; y = -5.5 * GUI_GRID_H + GUI_GRID_Y; w = 30 * GUI_GRID_W; h = 1 * GUI_GRID_H; }; class IGUIBack_2201: DAZ_BCM_IGUIBack2 { idc = 2201; moving = 1; x = 5 * GUI_GRID_W + GUI_GRID_X; y = -4.5 * GUI_GRID_H + GUI_GRID_Y; w = 30 * GUI_GRID_W; h = 34 * GUI_GRID_H; }; class RscText_1000: DAZ_BCM_RscText { idc = 1000; onLoad = "ExecVM 'time.sqf';"; x = 17 * GUI_GRID_W + GUI_GRID_X; y = -5.5 * GUI_GRID_H + GUI_GRID_Y; w = 7.5 * GUI_GRID_W; h = 1 * GUI_GRID_H; }; }; time.sqf: disableSerialization; _display = findDisplay 1984; _control = _display displayCtrl 1000; _formatedTime = [time/3600,"HH:MM:SS"] call BIS_fnc_timeToString; _stringfinal = "Temps écoulé depuis le début de la mission:"+ " " + "<t color='#26fc0a'>" + _formatedTime + "</t>"; _control ctrlSetStructuredText parsetext _stringfinal; thank you in advance
  11. DÄZ

    GUI map no zoom

    how do you execute the GUI ?? I had the same problem going through a radio trigger
  12. hi, https://github.com/nesmonartis/AALSSW/blob/master/AALSSW.sqf http://www.armaholic.com/page.php?id=32889 or http://www.armaholic.com/page.php?id=31062
  13. DÄZ

    Laptop screen texture

    use a script in the object: //[this] execVM "Screen_laptop.sqf"; _objet_interval = _this select 0; while {true} do { _objet_interval setObjectTextureGlobal [0, "textures\texture1.paa"]; sleep 2; _objet_interval setObjectTextureGlobal [0, "textures\texture2.paa"]; sleep 2; _objet_interval setObjectTextureGlobal [0, "textures\texture3.paa"]; sleep 2; };
  14. DÄZ

    Need dialog

    hi, as promised https://drive.google.com/open?id=1B2_bsPfo3tnjE2219s3VJKpu7uaCrgcV
×