Jump to content

M1ke_SK

Member
  • Content Count

    429
  • Joined

  • Last visited

  • Medals

Community Reputation

179 Excellent

About M1ke_SK

  • Rank
    Gunnery 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

Recent Profile Visitors

1809 profile views
  1. M1ke_SK

    profileName to objVar

    https://community.bistudio.com/wiki/profileName https://community.bistudio.com/wiki/vehicleVarName https://community.bistudio.com/wiki/format
  2. First error reported was in the May. So something in ACE changed that broke functionality of the script ¯\(°_o)/¯
  3. Updated to version 1.2.1 Changelog: v1.2.1 - added new config parameter "_disableAce3" to disable ACE3 interaction menu in settings.sqf you can find new config parameter _disableAce3 I set it by default to true, untill issue with ACE mod will be resolved
  4. There is change/error in ACE function. Need to check those changes, I guess there is already bug report on that on their github. I will check it and probably try to FIX it or add some kind of config to use only VANILLA interaction.
  5. is this in Contact DLC? I cannot find it in functions viewer. I don't own Contact DLC yet. PS: Should it be `BIS_fnc_attachChemlight` ( ... biS_... )
  6. I am trying to iterate array elements and remove added items. At the end, I am expecting array of NOT added items to unit. When I add item to player, I remove it from array, but in next iteration I skip to next element. Problem: array have 2x "Titan_AT" so array does not have unique keys. _items = ["Titan_AT","Titan_AT","Titan_AA","NLAW_F","RPG7_F","RPG32_HE_F","RPG32_F"]; { systemChat format ["_item: %1 | _items: %2", _x, _items]; if (player canAdd _x) then { player addItem _x; //remove item from _items; //_items = _items - [_x]; //this will delete both "Titan_AT" from array at 1 iteration _items deleteAt _forEachIndex; // this will skip next element on new iteration }; } forEach _items; systemChat format ["not added items: %1", _items]; EDIT: I used second array _items = ["Titan_AT","Titan_AT","Titan_AA","NLAW_F","RPG7_F","RPG32_HE_F","RPG32_F"]; _left = []; { if (player canAdd _x) then { player addItem _x; } else { _left pushBack _x; }; diag_log format [" _item: %1 | _items: %2 | _left: %3", _x, _items, _left]; } forEach _items; systemChat format ["not added items: %1", _left];
  7. you can get items in ACE cargo and then filter them by class _items = _vehicle getVariable ["ACE_cargo_loaded", []]; // returns array
  8. Can you post what version of ACE3 / CBA_A3 you are using ? Do you have ace_main.pbo enabled ? Did you test with my demo mission or your custom mission? Do you have whitelist for remoteExec functions?
  9. Object you are using for bomb should be "metalbarrel_f.p3d", not "device_slingloadable_f.p3d". In that case explosives are not placed correctly. You should comment line in bomb.sqf //null = [_object] spawn bomb_fnc_attachObjects; From error message it clearly appears that you modified my demo. Please run it without changes and see if runs.
  10. can you share your mission for debugging ? Or did you ran mission in zip file?
  11. M1ke_SK

    Help with dialog

    it works with units also, just replace _vehicle with _unit note: it return items that are stored inside uniform, vest, backpack. if you want also assigned items (nvg, weapon, handgun), you need additional check for that
  12. M1ke_SK

    Help with dialog

    private _vehicleItems = backpackCargo _vehicle + magazineCargo _vehicle + itemCargo _vehicle + weaponCargo _vehicle;
  13. M1ke_SK

    Random Date help?!

    _year = selectrandom [1967, 1968]; _month = selectRandom ( if (_year == 1967) then { [04, 05, 06, 07, 08, 09, 10, 11, 12] } else { [01, 02, 03, 04, 05, 06, 07, 08, 09, 10, 11, 12] } ); _day = selectrandom [01, 02, 03, 04, 05, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28]; setDate [_year, _month, _day, 15, 45];
  14. M1ke_SK

    Screen Overlay

    You can use BIS_fnc_establishingShot
  15. M1ke_SK

    Traffic Lights

    Well, if it is your code you should know how to use it :D btw that script is made by "Steven Campbell" Here is maybe more info about it. https://www.altisliferpg.com/topic/4703-traffic-light-script-for-the-e76-traffic-lights/ (note for moderators: not promoting other forums ... ) You should post on some altis life forum, they will probably help you more than here.
×