M1ke_SK

Member
  • Content count

    326
  • Joined

  • Last visited

  • Medals

Community Reputation

117 Excellent

About M1ke_SK

  • Rank
    Staff Sergeant

Contact Methods

  • Website URL
    http://www.mike.php5.sk
  • Skype
    michal.hudak
  • Twitter
    ingMichalHudak
  • Youtube
    playlist?list=PLkuEdARnxMO0aWvrmAdGY58n0NSKiM8In
  • Steam url id
    mike_hudak

Profile Information

  • Gender
    Male
  1. Sorry for delay. I was away. Will test shortly, Did you tried script without mods ?
  2. Can you wrote dependencies (mods used) ? I dont have all mods you need for mission.
  3. Make sure that barrel is NOT simpleObject and have simulation ENABLED. Can you post your mission so we can have better look?
  4. with headless client you can use these if (!hasInterface) then { //run on headless clients and dedicated server }; if (!hasInterface && !isDedicated) then { //run on headless clients only };
  5. Make sure you wrap it in if(isServer) { ... } condition, to run it only by server.
  6. You dont need loop with mission eventhandler
  7. Better use addMissionEventHandler ["EntityKilled", { //your code }]; than looping eveny 10 seconds for every unit on map.
  8. Probably double quotes. Show your init.sqf to be sure. [] execVM "scripts\zlt_fastrope.sqf";
  9. These are controls of display 602
  10. Inside inventory (602) 6331, // uniform 6381, // vest 6191, // backpack 6240 // headgear 610, // Primary Weapon 620, // PW Muzzle 621, // PW Optics 622, // PW Flashlight 611, // secondary weapon 612, // hand Gun 630, // HG Flashlight 628, // HG Muzzle 629 // HG Optics
  11. Maybe little simplier would be: //clear all magazines player { _unit removeMagazine _x; } forEach magazines _unit; //restore old magazines before take { _unit addMagazine [_x, 1]; } forEach _old_unit_magazines_array; //clear all magazines from container clearMagazineCargoGlobal _container; //restore old magazines before take { _container addMagazineCargoGlobal [_x, 1]; } forEach _old_container_magazines_array;
  12. @pierremgi When you already have some magazines in unit, and you will take weapon witch use these magazines, it will remove them too. _arrayA = [1,2,3,2,4]; _arrayB = [2,3]; _arrayC = _arrayA - _arrayB; _arrayC => [1,4] This will remove all main magazines used by weapon _loaded = MGI_crateLoadout - _new;
  13. Maybe this? { if ( _x in primaryWeaponMagazine _unit ) then { _unit removeMagazine _x } } forEach magazines _unit;
  14. Yes, great. Is there possibility to REMOVE this magazine from weapon? Even when it is empty it should not be in weapon.