Ilias38rus
Member-
Content Count
189 -
Joined
-
Last visited
-
Medals
Everything posted by Ilias38rus
-
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); };
-
Why do you need that?
-
crab, i realy sorry for the topic, see the problem and mistake, looks just tired.
-
Link is broked, plus gues thete is a virus, link to armaholic http://www.armaholic.com/page.php?id=21763
-
Little patch, replace old files with: https://yadi.sk/d/z5bZYBUnj8uHh , https://yadi.sk/d/zoFNllyAj8uHf . BLUFOR actives requests menu.
-
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.
-
This is anyway playing mission
-
civilian casualties counter
Ilias38rus replied to davidoss's topic in ARMA 3 - MISSION EDITING & SCRIPTING
just put in any file and Write in init.sqf execVM "_filename.sqf_" -
civilian casualties counter
Ilias38rus replied to davidoss's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Jst use mine and no problems) -
Make ropes interactive with ability to attach, detach from objects and carry in inventory plus have they in standart vehicles intentory.
-
Making checking for class of object
Ilias38rus posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
I need to make checking for object: of A3_Characters_F_Civil class. -
Making checking for class of object
Ilias38rus replied to Ilias38rus's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Realy sorry, forgot -
civilian casualties counter
Ilias38rus replied to davidoss's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Units in the mission can be created by zeus, by mcc, by skripts and not even shure what thats all -
Creating a group of units, using command.
Ilias38rus replied to Ilias38rus's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Thanks -
Creating a group of units, using command.
Ilias38rus posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
How to create a group of units, in vehicle, using command? -
Drop cargo waypoint
Ilias38rus replied to Ilias38rus's topic in ARMA 3 - MISSION EDITING & SCRIPTING
I searced, did not found -
How to make drop cargo waypoint like in zeus?
-
Creating a group of units, using command.
Ilias38rus replied to Ilias38rus's topic in ARMA 3 - MISSION EDITING & SCRIPTING
I know how to get them in cargo, isn't it possible to spawn they in vehicle? -
civilian casualties counter
Ilias38rus replied to davidoss's topic in ARMA 3 - MISSION EDITING & SCRIPTING
How to detect they creation? -
civilian casualties counter
Ilias38rus replied to davidoss's topic in ARMA 3 - MISSION EDITING & SCRIPTING
If it's not so borring, can you show masterclass by making skript with same functionality more rational? -
Creating a group of units, using command.
Ilias38rus replied to Ilias38rus's topic in ARMA 3 - MISSION EDITING & SCRIPTING
How to spawn they in vehicle? -
civilian casualties counter
Ilias38rus replied to davidoss's topic in ARMA 3 - MISSION EDITING & SCRIPTING
In what? -
civilian casualties counter
Ilias38rus replied to davidoss's topic in ARMA 3 - MISSION EDITING & SCRIPTING
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 -
civilian casualties counter
Ilias38rus replied to davidoss's topic in ARMA 3 - MISSION EDITING & SCRIPTING
I'm sorry, sended it to early, now is finished -
civilian casualties counter
Ilias38rus replied to davidoss's topic in ARMA 3 - MISSION EDITING & SCRIPTING
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