Add loot, damageEV and killedEV for mutants

This commit is contained in:
A Man
2021-08-26 11:49:59 +02:00
parent 451b02cda6
commit d5656fb48b
9 changed files with 70 additions and 10 deletions

View File

@@ -20,7 +20,7 @@
1 clearBackpackCargo
1 closeDisplay !"'closeDisplay'" !"closeDisplay 0" !"closeDisplay 2" !"if (!isNil \"closeDisplay\") then {"
1 compile !"ca\\communityconfiguration" !"ca\\Data\\" !"ca\\missions" !"ca\\modules" !"ca\\ui\\" !"ca\\Warfare2\\" !"scriptName \"Functions\\systems\\fn_inv" !"scriptName \"MP\\data\\script" !"code = compile preprocessFileLineNumbers (BIS_PathMPscriptCommands" !"t = missionConfigFile >> \"onMinimapScript" !="_this call (call compile GetText (configFile >> \"CfgAmmo\" >> _amm >> \"muzzleEffect\"));" !"z\\addons\\dayz_code\\" !"_menu ctrlSetEventHandler [\"ButtonClick\",_compile];\n};\n_pos set [3" !"{ _x set [1, compile (_x select 1)]; }" !"silver_1oz_b);\n\n{ \nif (!isNil {call compile" !"Var = compile format[\"epoch_death_board_record_" !="RandomSentenceFunc\") then \n{\nBIS_selectRandomSentenceFunc = compile (preprocessFileLineNumbers \"ca\\characters_e\\data\\scripts\\sel"
1 createAgent !="_agent = if (_type == \"Pastor\") then {createAgent [_type, _Pos, [], 0, \"NONE\"]} else {createAgent [_type, _Pos, [], 0, \"FORM\"]};" !="_dog = createAgent [_type, _Pos, [], 0, \"NONE\"];" !="\n\n\n_type = _unitTypes call BIS_fnc_selectRandom;\n_agent = createAgent [_type, _position, [], 0, \"CAN_COLLIDE\"];\n_agent setDir (r"
1 createAgent !="_agent = if (_type == \"Pastor\") then {createAgent [_type, _Pos, [], 0, \"NONE\"]} else {createAgent [_type, _Pos, [], 0, \"FORM\"]};" !="_dog = createAgent [_type, _Pos, [], 0, \"NONE\"];" !="\n\n\n_type = _unitTypes call BIS_fnc_selectRandom;\n_agent = createAgent [_type, _position, [], 0, \"CAN_COLLIDE\"];\n_agent setDir (r" !="erate: Location is in water...abort\"; };\n\n\nlocal _agent = createAgent [\"z_bloodsucker\", _pos, [], 0, \"NONE\"];\n_agent setDir (ran"
1 createDialog !="_region = createDialog \"RscDisplaySpawnSelecter\";" !="_gender = createDialog 'RscDisplayGenderSelect';" !="_dialog = createDialog \"bloodTest\";" !"createDialog 'horde_journal_" !"Z_ResetContainer = true;\ncreateDialog \"AdvancedTrading\";" !"createDialog \"DoorManagement\";\ncall DoorNearbyHumans;" !="createDialog \"ComboLockUI\";" !"createdialog \"PlotManagement\";\ncall PlotNearbyHumans;" !"_ok = createDialog \"KeypadUI\";" !"EpochDeathBoardLoad = {\ncreatedialog \"EpochDeathBoardDialog\";" !="if(DZE_doorManagement) then {createdialog \"DoorAccess\";} else {createdialog \"ComboLockUI\";};" !"\ndisableSerialization;\ncreateDialog \"DZ_GroupDialog\";" !"createDialog _dialog;\n\nwaitUntil {!dialog};\n\nif (keypadCancel) exitWith {" !=";\n};\n\nZSC_CurrentStorage setVariable[\"isBusy\",true,true];\ncreateDialog \"BankDialog\";\ncall BankDialogUpdateAmounts;\n\nwaitUntil {!" !="ANKING_NOT_AVAIL\",_typeOf] call dayz_rollingMessages;\n};\n\ncreateDialog \"atmDialog\";\ncall AtmDialogUpdateAmounts;\n\nwaitUntil {!di" !="!_isBusy) then {\nplayer setVariable[\"isBusy\",true,true]; \ncreateDialog \"GivePlayerDialog\";\n_display = uiNamespace getVariable[\"z" !="ked\",\"VaultStorage2\",\"TallSafe\",\"TallSafeLocked\"]) then {\ncreateDialog \"SafeKeyPad\";\n} else {\ncreateDialog \"KeypadUI\";\n};\n};\n\nda" !";\n\nif (count rv_vehicleList > 1) then {\nrv_isOk = false;\n\ncreateDialog \"remoteVehicle\";\n\n_display = uiNamespace getVariable[\"rv_" !="urrencyName]} else {[_amount,true] call z_calcCurrency};\n\ncreateDialog \"vkc\";\n{ctrlShow [_x,false]} count [4803,4850,4851];\n\ncal" !="\"_vgDisplCtl\"];\ndisableSerialization;\n\nvg_hasRun = false;\ncreateDialog \"virtualGarage\";\n\n{ctrlShow [_x,false]} count [2803,2830,"
1 createDisplay
1 createMarker !"\"createMarkerLocal\"," !"rcreateMarkerLocal" !"if (isnil 'BIS_GITA_fnc_createMarkers' || false) then {" !"_marker = createMarkerLocal [format[\"groupMember" !">> \"CfgVehicles\" >> _vehicle >> \"displayName\");\n_marker = createMarkerLocal [\"vehicleMarker\" + (str _i),[_position select 0,_pos"
@@ -45,7 +45,7 @@
1 HelicopterExplo !"(isNull _who) then {\nif (_ammo != \"\" && _ammo isKindOf \"HelicopterExplo" !"_v = thisTrigger getVariable [\"obj\", objNull];\n" !"_v = thisTrigger getVariable [\"\"obj\"\", objNull];\n" !"\n\n\nremoveallweapons _v;\n\nif (local _v) then {_expl=\"HelicopterExplo"
1 hideObject !"rhideObject" !"\"hideObject\"" !"(_x select 0) nearestObject (_x select 1);\n_object hideObject" !"_object2 = _ghost2 createVehicleLocal [0,0,0];\nhideObject _object;"
1 hint !", \"_postFix\"" !rhint !rtaskHint !"\"hint\", " !"\"hintC\", " !"\"taskHint\"," !"_controlHintButton ctrlSettext \"Objectives\";" !"hint (localize \"strwf" !"'BIS_fnc_hints'" !sched_planthint !"call ui_initDisplay;\nhintSilent \"\"" !"hintSilent localize \"str_player_low" !=" select 1;\n_filter = [\"private\",\"dynamic_text\",\"ai_killfeed\",\"hintWithImage\",\"hintNoImage\"]; \n\nif (typeName _message == \"TEXT\") " !="vars select 7) \n] spawn BIS_fnc_dynamicText;\n};\nif (_type == \"hintWithImage\") exitWith {hint parseText format[\"<t align='center'" !="sage};\n_multiArray = [\"private\",\"dynamic_text\",\"ai_killfeed\",\"hintWithImage\",\"hintNoImage\"]; \n\nif (_type in _multiArray) then {\n"
1 humanity !="\nDZE_NameTags = 0; \nDZE_ForceNameTagsInTrader = false; \nDZE_HumanityTargetDistance = 25; \nDZE_HeartBeat = false; \nDZE_RestrictSk" !=";\ndayz_authKey = \"\";\nDZE_LastPingResp = diag_tickTime;\ndayz_humanitytarget = \"\";\ndayz_selectedVault = objNull;\ndayz_selectedDoor" !="ndler {(_this select 1) spawn BIS_Effects_Burn};\n\"PVCDZ_plr_Humanity\" addPublicVariableEventHandler {(_this select 1) spawn pla" !="s \"\\z\\addons\\dayz_code\\compile\\fn_surfaceNoise.sqf\";\nplayer_humanityMorph = compile preprocessFileLineNumbers \"\\z\\addons\\dayz_co" !="{\nif (alive cursorTarget) then {\ncursorTarget spawn dayz_lowHumanity;\n};\n};\n\n[_initDone]\n};\n" !="\"_posC\",\"_height\",\"_attached\",\n\"_combi\",\"_findNearestGen\",\"_humanity_logic\",\"_low_high\",\"_cancel\",\"_buy\",\"_buyV\",\"_humanity\",\"_t" !="ext\",\"_visual\",\"_audible\",\"_id\",\"_rID\",\"_color\",\"_string\",\"_humanity\",\"_size\",\"_friendlies\",\"_rfriendlies\",\"_rfriendlyTo\",\"_dist" !="'; closeDialog 0; createDialog 'horde_journal_pages_journal_humanity';" !="t size='2' font='Zeppelin33' color = '#000000' align='left'>Humanity: </t><t size='2' font='Zeppelin33' align='right' color='" !="ing_page'; closeDialog 0; createDialog 'horde_journal_pages_humanity_art';" !="_myDisplay', (_this select 0)]; [] call horde_epeen_setText_humanity_fnc;" !="\n\nprivate [\"_hum\",\"_h\",\"_humanity\",\"_pl_pic\",\"_humanity_readout\",\"_top_joker\",\"_bot_joker\",\"_top_value\",\"_bot_value\",\"_top_suit\"" !="ySound 'horde_sound_turning_page'; [] call horde_epeen_show_humanity_fnc;" !="\n\n\n\n\nprivate [\"_hum\",\"_humanity\",\"_pl_pic\",\"_humanity_readout\",\"_top_joker\",\"_bot_joker\",\"_top_value\",\"_bot_value\",\"_top_suit\",\"" !="\",\"_h_diamonds_top_suit\",\"_h_diamonds_bot_suit\",\"_pl_pic\",\"_humanity_readout\",\"_top_joker\",\"_bot_joker\",\"_top_suit\",\"_bot_suit\"]" !="[_type,0];\n_killer setVariable[_type,(_kills + 1),true];\n\n\n_humanity = _killer getVariable[\"humanity\",0];\n_humanity = _humanity " !="dle = [dayz_playerUID,dayz_characterID,_model] spawn player_humanityMorph;\n};\n} else {\nlocalize \"str_player_fail_wear3\" call day" !="shed\",\"_abort\",\"_removed\",\"_tradeCounter\",\"_total_trades\",\"_humanityGain\"];\n\n_vars = _this select 3;\n_part_out = _vars select 0;" !="characterID\",(_this select 1),true];\n_newUnit setVariable [\"humanity\",(_this select 2),true];\n_newUnit setVariable [\"zombieKills" !="layer]];\npublicVariableServer \"PVDZ_send\";\n\n\n20 call player_humanityChange;\n\nformat [localize \"str_actions_medical_painkillers_g" !="layer]];\npublicVariableServer \"PVDZ_send\";\n\n\n20 call player_humanityChange;\n\n_msg = format[localize \"str_actions_medical_gave_an" !="alse}]];\npublicVariableServer \"PVDZ_send\";\n\n\n20 call player_humanityChange;\n\n_msg = [\"str_actions_medical_gave_bandage\",\"str_act" !="ress = true;\n\nprivate [\"_msg\",\"_finished\",\"_unit\",\"_item\",\"_humanityGain\"];\n\n_unit = (_this select 3) select 0;\n_item = (_this s" !="sted\",\"_activeKnife\",\"_text\",\"_qty\",\"_string\",\"_isZombie\",\"_humanity\",\"_finished\"];\n\nif (dayz_actionInProgress) exitWith {locali" !="ocalize \"str_actions_stats_hm\", \n(round(player getVariable['humanity', 0])), \nlocalize \"STR_EPOCH_JOURNAL_SURVIVED\", \n_survived," !="yerID\",\"_sourceName\",\"_sourceWeapon\",\"_sourceVehicleType\",\"_humanityBody\",\"_humanitySource\",\"_humanityHit\",\"_kills\",\"_killsV\",\"_" !="Traders}) then {\nif (s_player_parts_crtl < 0) then {\nlocal _humanity = player getVariable [\"humanity\",0];\nlocal _traderMenu = ca" !="ctrlBleed ctrlShow false;\n};\n\n\n\n\nlocal _string = \"\";\nlocal _humanityTarget = cursorTarget;\nif (!isNull _humanityTarget && {isPla" !="{\nplayer addMagazine \"ItemHotwireKit\";\n};\n\n-100 call player_humanityChange; \n\n_vehType = getText (configFile >> \"CfgVehicles\" >>" !="#line 1 \"z\\addons\\dayz_code\\compile\\player_humanityChange.sqf\"\nprivate [\"_change\",\"_humanity\"];\n\n\n\n\n_change = _this;\n\n_humanity " !"layer]];\npublicVariableServer \"PVDZ_send\";\n\n\n20 call player_humanityChange;\n\nformat[localize \"str_actions_medical_gave_wipes\",(n" !=" [\"_msg\",\"_bagUsed\",\"_bloodResult\",\"_bloodAmount\",\"_unit\",\"_humanityAwarded\",\"_timer\",\"_i\",\"_isClose\",\"_duration\",\"_rhVal\",\"_blo" !="#line 1 \"z\\addons\\dayz_code\\compile\\player_humanityMorph.sqf\"\ncloseDialog 0;\nlocal _charID = _this select 1;\nlocal _model = _thi" !="ody_Value} else {DZE_Butcher_Body_Value};\n_gain call player_humanityChange;\n\ndayz_actionInProgress = false;\n" !="l fn_dynamicTool;\n\ncall {\nif (_isZombie) exitWith {\n\nlocal _humanity = player getVariable [\"humanity\",0];\nplayer setVariable [\"h"
1 humanity !="\nDZE_NameTags = 0; \nDZE_ForceNameTagsInTrader = false; \nDZE_HumanityTargetDistance = 25; \nDZE_HeartBeat = false; \nDZE_RestrictSk" !=";\ndayz_authKey = \"\";\nDZE_LastPingResp = diag_tickTime;\ndayz_humanitytarget = \"\";\ndayz_selectedVault = objNull;\ndayz_selectedDoor" !="ndler {(_this select 1) spawn BIS_Effects_Burn};\n\"PVCDZ_plr_Humanity\" addPublicVariableEventHandler {(_this select 1) spawn pla" !="s \"\\z\\addons\\dayz_code\\compile\\fn_surfaceNoise.sqf\";\nplayer_humanityMorph = compile preprocessFileLineNumbers \"\\z\\addons\\dayz_co" !="{\nif (alive cursorTarget) then {\ncursorTarget spawn dayz_lowHumanity;\n};\n};\n\n[_initDone]\n};\n" !="\"_posC\",\"_height\",\"_attached\",\n\"_combi\",\"_findNearestGen\",\"_humanity_logic\",\"_low_high\",\"_cancel\",\"_buy\",\"_buyV\",\"_humanity\",\"_t" !="ext\",\"_visual\",\"_audible\",\"_id\",\"_rID\",\"_color\",\"_string\",\"_humanity\",\"_size\",\"_friendlies\",\"_rfriendlies\",\"_rfriendlyTo\",\"_dist" !="'; closeDialog 0; createDialog 'horde_journal_pages_journal_humanity';" !="t size='2' font='Zeppelin33' color = '#000000' align='left'>Humanity: </t><t size='2' font='Zeppelin33' align='right' color='" !="ing_page'; closeDialog 0; createDialog 'horde_journal_pages_humanity_art';" !="_myDisplay', (_this select 0)]; [] call horde_epeen_setText_humanity_fnc;" !="\n\nprivate [\"_hum\",\"_h\",\"_humanity\",\"_pl_pic\",\"_humanity_readout\",\"_top_joker\",\"_bot_joker\",\"_top_value\",\"_bot_value\",\"_top_suit\"" !="ySound 'horde_sound_turning_page'; [] call horde_epeen_show_humanity_fnc;" !="\n\n\n\n\nprivate [\"_hum\",\"_humanity\",\"_pl_pic\",\"_humanity_readout\",\"_top_joker\",\"_bot_joker\",\"_top_value\",\"_bot_value\",\"_top_suit\",\"" !="\",\"_h_diamonds_top_suit\",\"_h_diamonds_bot_suit\",\"_pl_pic\",\"_humanity_readout\",\"_top_joker\",\"_bot_joker\",\"_top_suit\",\"_bot_suit\"]" !="dle = [dayz_playerUID,dayz_characterID,_model] spawn player_humanityMorph;\n};\n} else {\nlocalize \"str_player_fail_wear3\" call day" !="shed\",\"_abort\",\"_removed\",\"_tradeCounter\",\"_total_trades\",\"_humanityGain\"];\n\n_vars = _this select 3;\n_part_out = _vars select 0;" !="characterID\",(_this select 1),true];\n_newUnit setVariable [\"humanity\",(_this select 2),true];\n_newUnit setVariable [\"zombieKills" !="layer]];\npublicVariableServer \"PVDZ_send\";\n\n\n20 call player_humanityChange;\n\nformat [localize \"str_actions_medical_painkillers_g" !="layer]];\npublicVariableServer \"PVDZ_send\";\n\n\n20 call player_humanityChange;\n\n_msg = format[localize \"str_actions_medical_gave_an" !="alse}]];\npublicVariableServer \"PVDZ_send\";\n\n\n20 call player_humanityChange;\n\n_msg = [\"str_actions_medical_gave_bandage\",\"str_act" !="ress = true;\n\nprivate [\"_msg\",\"_finished\",\"_unit\",\"_item\",\"_humanityGain\"];\n\n_unit = (_this select 3) select 0;\n_item = (_this s" !="sted\",\"_activeKnife\",\"_text\",\"_qty\",\"_string\",\"_isZombie\",\"_humanity\",\"_finished\"];\n\nif (dayz_actionInProgress) exitWith {locali" !="ocalize \"str_actions_stats_hm\", \n(round(player getVariable['humanity', 0])), \nlocalize \"STR_EPOCH_JOURNAL_SURVIVED\", \n_survived," !="yerID\",\"_sourceName\",\"_sourceWeapon\",\"_sourceVehicleType\",\"_humanityBody\",\"_humanitySource\",\"_humanityHit\",\"_kills\",\"_killsV\",\"_" !="Traders}) then {\nif (s_player_parts_crtl < 0) then {\nlocal _humanity = player getVariable [\"humanity\",0];\nlocal _traderMenu = ca" !="ctrlBleed ctrlShow false;\n};\n\n\n\n\nlocal _string = \"\";\nlocal _humanityTarget = cursorTarget;\nif (!isNull _humanityTarget && {isPla" !="{\nplayer addMagazine \"ItemHotwireKit\";\n};\n\n-100 call player_humanityChange; \n\n_vehType = getText (configFile >> \"CfgVehicles\" >>" !="#line 1 \"z\\addons\\dayz_code\\compile\\player_humanityChange.sqf\"\nprivate [\"_change\",\"_humanity\"];\n\n\n\n\n_change = _this;\n\n_humanity " !"layer]];\npublicVariableServer \"PVDZ_send\";\n\n\n20 call player_humanityChange;\n\nformat[localize \"str_actions_medical_gave_wipes\",(n" !=" [\"_msg\",\"_bagUsed\",\"_bloodResult\",\"_bloodAmount\",\"_unit\",\"_humanityAwarded\",\"_timer\",\"_i\",\"_isClose\",\"_duration\",\"_rhVal\",\"_blo" !="#line 1 \"z\\addons\\dayz_code\\compile\\player_humanityMorph.sqf\"\ncloseDialog 0;\nlocal _charID = _this select 1;\nlocal _model = _thi" !="ody_Value} else {DZE_Butcher_Body_Value};\n_gain call player_humanityChange;\n\ndayz_actionInProgress = false;\n" !="l fn_dynamicTool;\n\ncall {\nif (_isZombie) exitWith {\n\nlocal _humanity = player getVariable [\"humanity\",0];\nplayer setVariable [\"h" !=",0];\n_killer setVariable[_type,(_kills + 1),true];\n\n\nlocal _humanity = _killer getVariable[\"humanity\",0];\n_humanity = _humanity " !="t 1;\n\nif (local _mutant && isPlayer _killer) then {\n\nlocal _humanity = _killer getVariable[\"humanity\",0];\n_humanity = _humanity "
1 lbCurSel !"_selectedUserIndex = lbCurSel _lbUsersControl;" !="profileNamespace setVariable ['statusUI',(lbCurSel (_this select 0))];" !="profileNamespace setVariable ['streamerMode',(lbCurSel (_this select 0))];" !"_index = lbCurSel _lbcontrol;\n_selectedItem" !"_selected = lbCurSel _list;\n_classname = _list lnbData [_selected, 2];" !="_friendName = _userList lbText (lbCurSel _userList);" !")] call Z_" !"(lbCurSel 7421) call Z_fillCategoryList" !"] call Door" !"] call Plot" !"[(lbCurSel 12001)] " !="[(lbCurSel 21000), ((ctrlParent (_this select 0)) displayCtrl 21001)] spawn EpochDeathBoardClick;" !"((ctrlParent (_this select 0)) closeDisplay 2);" !="_uid = _playerList lbData (lbCurSel _playerList);" !"_myGroup lbData (lbCurSel _myGroup);" !="vkc_charID = (vkc_keyList select 0) select (lbCurSel 4802);vkc_keyName = (vkc_keyList select 1) select (lbCurSel 4802);" !="2800) displayCtrl 2802);\n\n_vehicle = vg_vehicleList select (lbCurSel _control);\n_typeOf = typeOf _vehicle;\n_isLimitArray = typeN" !="Dialog 0;\n_vehicle = (call compile format[\"%1\",lbData[2802,(lbCurSel 2802)]]);\n\nif (vg_removeKey && {_vehicle select 3 != 0} && "
1 lbSet !"_lbUsersControl lbSetColor [_x, [1,0,0,1]];" !"\n_control lbSetColor [_x, _color];\n};" !"_weaponsLBSetFocus" !="(_this select 0) displayCtrl _idc lbSetCurSel (profileNamespace getVariable [_var,_default]);" !="(_display displayCtrl 105) lbSetColor [_i, [0.06, 0.05, 0.03, 1]];" !" [7421," !"lbSetPicture [7422, _index" !"lbSetPicture [7402, _index" !"lbSetPicture [7401, _index" !="_userList lbSetData [(lbSize _userList) -1,_friendUID];" !" [TraderDialogItemList, _index, " !"_myGroup lbSetData [_index,getPlayerUID _x];" !"ive DZE_myVehicle} && {DZE_myVehicle == _x}) then {\n_control lbSetColor [(lbSize _control)-1,[0, 1, 0, 1]];\n};\n} count rv_vehicl" !="bAdd ((vkc_keyList select 1) select _forEachIndex);\n_control lbSetPicture [_index,getText(configFile >> \"CfgWeapons\" >> ((vkc_ke" !=" 1) >> \"displayName\");\n_control lbAdd _displayName;\n_control lbSetData [(lbSize _control)-1,str(_x)];\nvg_vehicleList set [count "
1 loadFile
@@ -54,7 +54,7 @@
1 nearestObject !="licVariableEventHandler {_pos = (_this select 1); _obj = nearestObjects [_pos, DZE_isWreckBuilding, 5]; if (count _obj > 0) then" !=" 0;\n_whatIwant = _this select 1;\n_ret = false;\n\n_flame = nearestObjects [_fireplace, [\"flamable_DZ\"], 1];\n_flame = if (count _fl" !="Whitelisted = [];\n_pointsNearby = [];\n_findWhitelisted = nearestObjects [_pos,_whitelist,(_radius + DZE_snapExtraRange)]-[_objec" !=".sqf\"\n\n\n\n\n\nprivate \"_object\";\n\n{\n_object = (_x select 0) nearestObject (_x select 1);\n_object hideObject true;\n_object setVariab" !="\ncall dayz_meleeMagazineCheck;\n{player reveal _x} count (nearestObjects [_position,[\"AllVehicles\",\"WeaponHolder\",\"Land_A_tent\",\"" !="ks.sqf\"\nsetMousePosition [0.5, 0.5];\n\nprivate [\"_exit\",\"_nearestObjects\",\"_rID\",\"_display\",\"_cTarget\",\"_dis\",\"_friendlyTo\",\"_las" !="eenMsg = localize 'str_player_setup_completed';\n_torev4l=nearestObjects [_setPos, Dayz_plants + DayZ_GearedObjects + [\"AllVehicl" !=") then {\n_pPos = [player] call FNC_GetPos;\n_fireplaces = nearestObjects [_pPos, [\"flamable_DZ\",\"Land_Fire\",\"Land_Campfire\"], 8];" !=" \n\n)\nmax 0;\n\nif (_scaleLight < 0.9) then {\n\n_nearFlare = nearestObject [getPosATL (vehicle player),\"RoadFlare\"];\nif (!isNull _ne" !=" call _check}) exitWith { \n_inside = true;\n};\n} forEach (nearestObjects [_unit, [\"Building\"], 50]);\n};\n\n\n_inside\n" !="= _this select 0;\n_ammo = _this select 1;\n\n_projectile = nearestObject [_unit, _ammo];\n_pos = getPosATL _projectile;\n\nif (_ammo " !="\n};\nif (\"workshop\" in _needNear) then {\n_isNear = count (nearestObjects [player, DZE_Workshops, _distance]);\nif(_isNear == 0) th" !="ingPlayer = player;\n_dir = round(random 360);\n_helipad = nearestObjects [player, [\"HeliHCivil\",\"HeliHempty\"], 100];\n\n\nif (count " !="1\",\"land_smd_water_pump\"];\n\n_canFill = call {\n\nif (count nearestObjects [_posATL,_wells,4] > 0) exitwith {[true,false]};\nif (toL" !="d) exitWith {\n_nearWaterHole = [true,_pond];\n};\n} count (nearestObjects [_x, [], 1]);\n\nif (_nearWaterHole select 0) exitWith {};" !="bj select 4;\n_projectile = _obj select 6;\n\n_projectile = nearestObject [_unit,_ammo];\n_endPos = getPosATL _projectile;\n_doWait =" !="_plantOutput select _index;\n_countOut = 1;\n};\n};\n} count nearestObjects [([player] call FNC_getPos), [], 10];\n\nif (count _findNe" !=" !r_player_unconscious && !_onLadder);\n\n_nearByObjects = nearestObjects [player,_objects,_range];\n\nif (count _nearByObjects == 0" !="= \"workshop\") exitwith {\n_distance = 3;\n_isNear = count (nearestObjects [_pos, DZE_Workshops, _distance]);\nif (_isNear == 0) the" !="earestPole) then {_pos} else {_nearestPole};\nif ((count (nearestObjects [_center,_buildables,_distance])) >= DZE_BuildingLimit) " !="_ammo in [\"Dragged\",\"RunOver\"])}) then {\n_vehicleArray = nearestObjects [([vehicle _unit] call fnc_getPos),[\"Air\",\"LandVehicle\"," !="n _rocks) exitWith { _findNearestRock = _x; };\n} foreach nearestObjects [getPosATL player, [], 8];\n\n\nif (!isNull _findNearestRoc" !="modeltoWorld [0,0,0]};\n_holder = objNull;\n\n\n_nearByPile= nearestObjects [_pos, [\"WeaponHolder\",\"WeaponHolderBase\"],2];\n\nif (coun" !="r);\nlocal _uid = getPlayerUID player;\nlocal _nearLight = nearestObject [player,\"LitObject\"];\nlocal _canPickLight = false;\nlocal " !="p = {\nlocal _doors = [];\nif (r_drag_sqf) then {\n_doors = nearestObjects [player, DayZ_DropDrageeObjects, 3]; \nif (count _doors >" !"With {};\nif (!_unconscious) exitWith {};\n\n_dropObjects = nearestObjects [player, DayZ_DropDrageeObjects, 3];\nif (count _dropObje" !"Name) in dayz_trees}) exitWith {\n\n_tree = _x;\n};\n} count nearestObjects [getPosATL player, [], 20];\n\nif (!isNull _tree) then {\n\n" !="ntities [\"Plastic_Pole_EP1_DZ\",15]) select 0;\n_objects = nearestObjects [_target, DZE_maintainClasses, DZE_maintainRange];\n\n_obj" !="E_LockableStorage + [\"DZ_storage_base\"];\n_count = count (nearestObjects [_target,_buildables,_range]);\n\n_colour = \"#ffffff\";\n\nif" !="e;\n_num = ceil (random (player distance _x));\n};\n} count nearestObjects [player, [], 50];\n\nfor \"_i\" from 1 to 10 do {\nif (!_ispo" !="j select 4;\n\n_projectile = _obj select 6;\n\n_projectile = nearestObject [_unit,_ammo];\n_vUp = vectorUp _projectile;\n_endPos = get" !="player;\nif (_vehicle != player) then {\n_servicePoints = (nearestObjects [getPosATL _vehicle,DZE_SP_Classes,DZE_SP_MaxDistance]) " !="ir\",\"LandVehicle\",\"Ship\"],Z_VehicleDistance];\n_heliPad = nearestObjects [if (_isNearPlot) then {_plotCheck select 2} else {playe" !="ts;\n_isNearPlot = (_plotCheck select 1) > 0;\n\n_heliPad = nearestObjects [if (_isNearPlot) then {_plotCheck select 2} else {playe" !="ocalize \"STR_CL_VG_HELIPAD_REMOVED\",typeOf _x];\n} count (nearestObjects [_plotCheck select 2,vg_heliPads,Z_VehicleDistance]);\n} "
1 nearObjects !="ratorRunning\",false]))} count (([player] call FNC_getPos) nearObjects [\"Generator_DZ\",30]);\nif (_findNearestGen > 0) then {\ns_pl" !="lders = dayz_currentWeaponHolders - 1;\n} count (_worldPos nearObjects [\"ReammoBox\", 1]);\n\nif (_lootChance > random 1 && {dayz_cu" !="rgets == 0) then {\nprivate \"_objects\";\n\n_objects = _agent nearObjects [\"GrenadeHand\", 300]; \n{\nif (!(_x in _targets)) then {\nif " !="er] call FNC_GetPos;\n_isNear = {inflamed _x} count (_pPos nearObjects _distance);\nif(_isNear == 0) then {\n_abort = true;\n_reason" !="s select 0;\n_sign = _this select 1;\n_near = count (player nearObjects [_class,50]);\n\n[_class,_sign,_near] spawn {\n_class = _this" !="with {\n_distance = 3;\n_isNear = {inflamed _x} count (_pos nearObjects _distance);\nif (_isNear == 0) then {\n_abort = true;\n_reaso" !=" (_nearWaterHole select 0) exitWith {};\n} forEach (player nearObjects [\"waterHoleProxy\",50]);\n\n_nearWaterHole" !="yer] call FNC_GetPos;\n_isNear = {inflamed _x} count (_pos nearObjects 3);\nif (_isNear == 0) exitWith {dayz_actionInProgress = fa" !="unt _zeds;\n\n\ndayz_currentWeaponHolders = count (_position nearObjects [\"ReammoBox\",_radius]);\n\n\nif (DZE_Bloodsuckers) then {\nloc"
1 onMapSingleClick
1 playableUnits !"for [{_y=0},{_y < count(playableUnits)},{_y=_y+1}] do {" !"typeName player == \"OBJECT\" && {(player in playableUnits" !"AND {((alive _x) AND {((vehicle _x) distance _obj < 150)})}} count playableUnits)}) then {" !="_local = { _unit distance _x < _dis; } count playableUnits <= 1;" !"ManagementMustBeClose) then { player nearEntities [\"CAManBase\", 10] } else { playableUnits };" !=" = false;\n};\n};\n};\nif (!_isOk) exitWith {false};\n} count playableUnits;\n\n_isOk\n" !="lose) then {player nearEntities [\"CAManBase\", 12]} else {playableUnits};\n\n{\nif (isPlayer _x) then {\n_friendUID = getPlayerUID _x"
1 playableUnits !"for [{_y=0},{_y < count(playableUnits)},{_y=_y+1}] do {" !"typeName player == \"OBJECT\" && {(player in playableUnits" !"AND {((alive _x) AND {((vehicle _x) distance _obj < 150)})}} count playableUnits)}) then {" !="_local = { _unit distance _x < _dis; } count playableUnits <= 1;" !"ManagementMustBeClose) then { player nearEntities [\"CAManBase\", 10] } else { playableUnits };" !=" = false;\n};\n};\n};\nif (!_isOk) exitWith {false};\n} count playableUnits;\n\n_isOk\n" !="lose) then {player nearEntities [\"CAManBase\", 12]} else {playableUnits};\n\n{\nif (isPlayer _x) then {\n_friendUID = getPlayerUID _x" !="ce _agent < 300}) exitWith {_isSomeone = true;};\n} count playableUnits;" !="nce _pos < 100}) exitWith {_nearPlayer = true;};\n} count playableUnits;\n\n\n_sound = [\"bloodatt0\",\"bloodatt1\",\"bloodatt2\",\"bloodat" !="ce _agent < 300}) exitWith {_isSomeone = true;};\n} count playableUnits;\n\n_timeN = diag_tickTime;\n\n"
1 positionCameraToWorld
1 removeAllEventHandlers !"_WarnFuel = false;\n};\n\n};\n\n_vehicle removeAllEventHandlers \"IncomingMissile" !"leep _wait;} else {sleep (_wait * 4);};\n};\n\n_vehicle removeAllEventHandlers \"Dammaged" !"lse\"];\n{\n(findDisplay 12) displayCtrl 51 ctrlRemoveAllEventHandlers" !"select 1,0] nearestObject (_x select 2);\n_building removeAllEventHandlers" !"\n\n\n\nif (_this isKindOf \"AllVehicles\") then {\n\n_this removeAllEventHandlers" !"\npublicVariableServer \"PVDZ_veh_Save\";\n};\n};\n\n\n_unit removeAllEventHandlers" !="r == _model) exitWith {};\n\nlocal _old = player;\n_old removeAllEventHandlers \"FiredNear\";\n_old removeAllEventHandlers \"HandleDama"
1 selectPlayer !"addSwitchableUnit dayz_originalPlayer;\nsetPlayable dayz_originalPlayer;\nselectPlayer dayz_originalPlayer;" !"addSwitchableUnit _newUnit;\nsetPlayable _newUnit;\nselectPlayer _newUnit;"