Jump to content

Ilias38rus

Member
  • Content Count

    189
  • Joined

  • Last visited

  • Medals

Everything posted by Ilias38rus

  1. Please help me to find mistake Strange is that what i see t , but dont t1 . switch (vard) do { case 0: { execVM "ar\sarsm"; }; case 1: { hint "t"; execVM "ar\sarhd"; }; case 20: { ar\sarhd.sqf _lv = 0; _lot1 = 0; _lot2 = 0; hint "t1"; hint "Click on map, insertion point, //target point, leaving point."; onMapSingleClick "pari = _pos;lvar = 1; onMapSingleClick ''; true"; waituntil {lvar == 1}; hint str (pari); onMapSingleClick "part = _pos;lvar = 2; onMapSingleClick ''; true"; waituntil {lvar == 2}; hint str (part); onMapSingleClick "parl = _pos;lvar = 3; onMapSingleClick ''; true"; waituntil {lvar == 3}; hint str (parl); if (vcpointsw >= (varp + varhdp)) then { vcpointsw = vcpointsw - (varp + varhdp); _lot = createVehicle [aarhdv select floor random count aarhdv, pari, [], 0, "FLY"]; _lot setfuel 0.4; createVehicleCrew _lot; if (vart <= 10) then { _lu = aaru select floor random count aaru; if (vart != 10) then { _loc = createVehicle ["B_Slingload_01_Cargo_F", pari, [], 0, "FLY"]; _lot setSlingLoad _loc; if (vart > 1) then { _lgt = group ((crew _lot) select 0); _lot1 = createVehicle [aarhdv select floor random count aarhdv, pari, [], 0, "FLY"]; _lot setfuel 0.4; createVehicleCrew _lot1; crew _lot1 join _lgt; if (vart > 2) then { _lot2 = createVehicle [aarhdv select floor random count aarhdv, pari, [], 0, "FLY"]; _lot setfuel 0.4; createVehicleCrew _lot2; crew _lot2 join _lgt; }; }; } else { _loc = createVehicle [_lou, pari, [], 0, "FLY"]; _lot setSlingLoad _loc; }; crew _lot join group player; //_lwt = _lgt addWaypoint [partw, 1]; //_lwt setWaypointType "MOVE"; //_lgt setCurrentWaypoint _lwt; //_lwl = _lgt addWaypoint [parlw, 2]; //_lwl setWaypointType "MOVE"; //_lgt setCurrentWaypoint _lwl; while {_lv == 0} do { if (isnull getSlingLoad _lot) then { sleep 1; //if (alive _loc) then { _lp = getPos _loc; deleteVehicle _loc; _lou = createVehicle [_lou, _lp, [], 0, "NONE"]; //createVehicleCrew _lou; _lou setvehicleammo 0.3; _lou setfuel 0.3; //crew _lou join group player; //{ //addSwitchableUnit _x; //} foreach crew _lou; cmIlias addCuratorEditableObjects [[_lou],true]; //}; _lv == 1; sleep 180; if (vart == 1) then { if (alive _lot) then { vcpointsw = vcpointsw + varhdp; { _lot deleteVehicleCrew _x; } foreach crew _lot; deleteVehicle _lot; }; } else { if (vart == 2) then { if (alive _lot) then { vcpointsw = vcpointsw + (vartp / 2); { _lot deleteVehicleCrew _x; } foreach crew _lot; deleteVehicle _lot; }; if (alive _lot1) then { vcpointsw = vcpointsw + (vartp / 2); { _lot1 deleteVehicleCrew _x; } foreach crew _lot1; deleteVehicle _lot1; }; } else { if (vart == 3) then { if (alive _lot) then { vcpointsw = vcpointsw + (vartp / 3); { _lot deleteVehicleCrew _x; } foreach crew _lot; deleteVehicle _lot; }; if (alive _lot1) then { vcpointsw = vcpointsw + (vartp / 3); { _lot1 deleteVehicleCrew _x; } foreach crew _lot1; deleteVehicle _lot1; }; if (alive _lot2) then { vcpointsw = vcpointsw + (vartp / 3); { _lot2 deleteVehicleCrew _x; } foreach crew _lot2; deleteVehicle _lot2; }; }; }; }; }; }; }; } else { hint str (Not enough command points); };
  2. Ilias38rus

    CHecking help

    Why do you need that?
  3. Ilias38rus

    CHecking help

    crab, i realy sorry for the topic, see the problem and mistake, looks just tired.
  4. Ilias38rus

    Skyhook

    Link is broked, plus gues thete is a virus, link to armaholic http://www.armaholic.com/page.php?id=21763
  5. Ilias38rus

    New CTI going to be born.

    Little patch, replace old files with: https://yadi.sk/d/z5bZYBUnj8uHh , https://yadi.sk/d/zoFNllyAj8uHf . BLUFOR actives requests menu.
  6. Ilias38rus

    New CTI going to be born.

    After 5 days from i first time though to create something, Pre beta version ready for try https://yadi.sk/d/V88yRT2Mj8scR . For understanding: http://steamcommunit...785/screenshots , If you'll see any missing addons messages, do not worry (I'm playing with PWS Extended + collection, if you'll run with it, will be without messages (not nessesary)), highly recomended to and own id in zeus module in editor, for add supply execute global: vspointsw = vspointsw + _Number_ , Isn't present yet: OPFOR side (not configurated). Independent side, //Civilian side, Players mission's way's to respawn. Teamswitch, HQ's. Supply system, Commanders connection to HQ. Requesting infantry, Requesting commanders, Requesting equipment. Avtomatized requested actives transport, Borders for chosing requested actives insertion, leaving points, Sale requested actives transport system (Now dissapearing after 5 min's, if alive money returning), Requesting Ai groups's, Adding requested group's to hight command, Configs, Ultralight skripting, Some confiigutations (Requesting actives,weapons with UGL's list,), Ai still do not tareting air with flares, Isladn ocupation system, Towns (Airfield, +- configurated), R3F not configurated, Support vehicles refilling, Loadout customization.
  7. Ilias38rus

    New CTI going to be born.

    This is anyway playing mission
  8. Ilias38rus

    civilian casualties counter

    just put in any file and Write in init.sqf execVM "_filename.sqf_"
  9. Ilias38rus

    civilian casualties counter

    Jst use mine and no problems)
  10. Ilias38rus

    Suggestion interactive ropes

    Make ropes interactive with ability to attach, detach from objects and carry in inventory plus have they in standart vehicles intentory.
  11. I need to make checking for object: of A3_Characters_F_Civil class.
  12. Ilias38rus

    civilian casualties counter

    Units in the mission can be created by zeus, by mcc, by skripts and not even shure what thats all
  13. How to create a group of units, in vehicle, using command?
  14. Ilias38rus

    Drop cargo waypoint

    I searced, did not found
  15. How to make drop cargo waypoint like in zeus?
  16. I know how to get them in cargo, isn't it possible to spawn they in vehicle?
  17. Ilias38rus

    civilian casualties counter

    How to detect they creation?
  18. Ilias38rus

    civilian casualties counter

    If it's not so borring, can you show masterclass by making skript with same functionality more rational?
  19. How to spawn they in vehicle?
  20. Ilias38rus

    civilian casualties counter

    I do not care about opinions, this is best functionality code is possible to create for the situation you writing like dictionary page trying to explain variables, i using 3 leters to know what type of the variable, where is it and what mean
  21. Ilias38rus

    civilian casualties counter

    I'm sorry, sended it to early, now is finished
  22. Ilias38rus

    civilian casualties counter

    ac = []; lac = []; _la = []; _la1 = []; _lv = 0; _lv1 = 0; while {true} do { { if ((side _x) == civilian) then { _la = [_x]; _lv = ac find _x; if (_lv == -1) then { _x addMPeventhandler ["MPkilled", { //(if you want counting only players) can add: if (_this select 1 == player) then { _la2 = [(_this select 1)]; _lv1 = lac find (_this select 1); if (_lv1 == -1) then { _pn = 0; _this select 1 setVariable ["_p",_pn]; lac = lac + _la2; } else { _la2 = [_this]; _pn = (_this select 1) getVariable "_p"; _pn = _pn + 1; _this select 1 setVariable ["_p",_pn]; if (_pn > 2) then { //How muh cicilians killed by the unit, can add any number of levels: after 2 kills, after 3 kills... by repiting the section; hint format ["%1 is under invastigation",_this select 1]; //replase this on what you want to do with unit; //_pn = 0; | //_this select 1 setVariable ["_p",_pn];|if you want to restart counting kills; //lac = lac - _la2; if after punishment unit will not exist use to remove him from counting (for clearing); }; }; _la1 = [_this select 0]; ac = ac - _la1; //}; }]; ac = ac + _la; }; } forEach allUnits; sleep 10; }; That will work for all civilians even if they added after mission start
×