Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×

MechSlayer

Member
  • Content Count

    90
  • Joined

  • Last visited

  • Medals

Everything posted by MechSlayer

  1. MechSlayer

    Signatures problem

    Tried changing it to 2 but doesn't works, these are the files that gives me error "C:\Program Files (x86)\Steam\steamapps\common\Arma 3\@NoPixel\addons\bcas.pbo", "C:\Program Files (x86)\Steam\steamapps\common\Arma 3\@NoPixel\addons\calipo_usvb.pbo", "C:\Program Files (x86)\Steam\steamapps\common\Arma 3\@NoPixel\addons\cg_tactical_vests.pbo", "C:\Program Files (x86)\Steam\steamapps\common\Arma 3\@NoPixel\addons\cl3_mod_client.pbo", "C:\Program Files (x86)\Steam\steamapps\common\Arma 3\@NoPixel\addons\cnx_base.pbo", "C:\Program Files (x86)\Steam\steamapps\common\Arma 3\@NoPixel\addons\d3s_nemises_f80_14.pbo", ...
  2. It's possible to create an array with the cfgPatches of every loaded addon? something like ["a3", "3den", "air_f", "acex", etc..]
  3. I was playing around with the setObjectTexture and ctrlSetText functions, and after some time I made this, a kind of video player (actually it isn't a video just around 3000 frames running very fast). It works pretty well, only if you are stuck on 60FPS. The screen gets pretty bugged if you have a change of 3-4 fps but it doesn't apply for dialogs. Here's the mission if you want to test it. If the video and audio aren't synced just play with the sleep inside the functions. I converted the video to frames using VLC.
  4. MechSlayer

    VIdeo Player

    I was searching something like that for 1 hour and didn't found anything xD so I tried another way.
  5. I need to get the part of a unit that has been damaged, i've already tried with "_selection" from the Damage eventhandler but it always says "body", any Idea?
  6. { if (_x side == east) then {_x addEventHandler ["HandleDamage", { params ["_unit", "_selection", "_damage", "_source", "_projectile", "_hitIndex", "_instigator", "_hitPoint"]; _damage = _damage/2 //Receive two times less damage use * if you want it to receive more damage _damage; }];}; } forEach allPlayers;
  7. { if (_x side == east) then {_x addEventHandler ["HandleDamage", {1}];}; } forEach allPlayers; For players only and for AI and Players { if (_x side == east) then {_x addEventHandler ["HandleDamage", {1}];}; } forEach allUnits;
  8. I have this code GSO_fnc_necesidades = { while {true} do { _sed = player getVariable "sed"; _sed = _sed - 1; player setVariable ["sed", _sed, true]; Sed = _sed; sleep 5; }; while {true} do { _hambre = player getVariable "hambre"; _hambre = _hambre - 1; player setVariable ["hambre", _hambre, true]; Hambre = _hambre; sleep 10; }; }; And I call it with [] spawn GSO_fnc_necesidades; The problem is that it runs only the first while loop, any fix?
  9. Okey fixed by using [] spawn instead of call
  10. Now it won't continue after the "call GSO_fnc_necesidades; GSO_fnc_InitCliente = { cutText ["","BLACK OUT"]; waituntil {!(IsNull (findDisplay 46))}; cutText [format ["Recuperando datos de %1", name player],"BLACK OUT"]; [player] remoteExecCall ["Servidor_fnc_crearJugador", 2]; sleep 6; [] spawn GSO_fnc_configuraciones; [] spawn GSO_fnc_necesidades; 1 cutRsc ["HUD","PLAIN",-1,false]; call GSO_fnc_hud; (findDisplay 46) displayAddEventHandler ["KeyDown", "if (_this select 1 == 219) then {[] spawn GSO_fnc_abrirMenu;};"]; cutText ["", "PLAIN"]; ["Datos cargados", "info", 5] spawn GSO_fnc_notificaciones; };
  11. Thanks, gonna try it
  12. Hmm strange, I made it work like this before. I need to run them separate because one must go slower than the other
  13. Thanks. If you find any failure or have any idea for improvements tell me
  14. Hey, I have this button class RscButton_1615: RscButton { idc = 1615; x = 0.224375 * safezoneW + safezoneX; y = 0.808 * safezoneH + safezoneY; w = 0.065625 * safezoneW; h = 0.042 * safezoneH; }; How can i set a pictur with ctrlSetText?
  15. MechSlayer

    Set button image

    Haha no problem, thanks.
  16. MechSlayer

    Set button image

    I mean removing the blackness when you move the mouse over the button
  17. MechSlayer

    Set button image

    Thanks. How can I remove the Highlight when you move the mouse over the button ?
  18. I have this array Cars = ["Car_1","Car_2","Car_3"] How can I make this ("Car" in Cars) return true without typing _1 or _2 ?
  19. _array = getCursorObjectParams select 1; // ["door_4","door_4_action"] _count = count _array - 1; // Number of elemnts - 1 for "_i" from 0 to _count do //Change _i from 0 to the count result { _a = _array select _i; //Select each element _a = toLower _a; _find = str _a find "door"; //Check if "door" it's inside }; This seems to work pretty fine, Thanks all!
  20. How can I disable the interactions menu? (The one that pops up when you spin the mouse wheel) Or is there a mod that already does that?
  21. How can I make that when you are watching a door for example, the interaction "Open door" appears on the door handle instead of the left side of the screen?
  22. I mean something like this
  23. Hey, I'm trying to add all the wapons that I have into 4 arrays to a crate. I have this code: { if !(_x isEqualTo []) then { _Caja addWeaponCargoGlobal [_x,1]; _Caja addBackpackCargoGlobal [_x,1]; _Caja addItemCargoGlobal [_x,1]; _Caja addMagazineCargoGlobal [_x,1]; }; } forEach _array1; { if !(_x isEqualTo []) then { _Caja addWeaponCargoGlobal [_x,1]; _Caja addBackpackCargoGlobal [_x,1]; _Caja addItemCargoGlobal [_x,1]; _Caja addMagazineCargoGlobal [_x,1]; }; } forEach _array2; { if !(_x isEqualTo []) then { _Caja addWeaponCargoGlobal [_x,1]; _Caja addBackpackCargoGlobal [_x,1]; _Caja addItemCargoGlobal [_x,1]; _Caja addMagazineCargoGlobal [_x,1]; }; } forEach _array3; { if !(_x isEqualTo []) then { _Caja addWeaponCargoGlobal [_x,1]; _Caja addBackpackCargoGlobal [_x,1]; _Caja addItemCargoGlobal [_x,1]; _Caja addMagazineCargoGlobal [_x,1]; }; } forEach _array4; And this is the array: [["H_TurbanO_blk","G_Aviator","U_C_Poloshirt_stripped"],[],["OPTRE_BR55HB"],[]] The problem is that it adds some blank objects and duplicate others. Is there another way?
×