mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 20:13:13 +03:00
Fix RoadFlare RPT error
Fixes:
Error in expression <ehicles","WeaponHolder"], 50];
{ [_x,0] spawn
object_roadFlare } count (allMissi>
Error position: <spawn
object_roadFlare } count (allMissi>
Error Type Script, expected Bool
This commit is contained in:
@@ -349,7 +349,7 @@ if (isNil "keyboard_keys") then {
|
|||||||
(findDisplay 46) displayRemoveAllEventHandlers "KeyUp";
|
(findDisplay 46) displayRemoveAllEventHandlers "KeyUp";
|
||||||
(findDisplay 46) displayRemoveAllEventHandlers "KeyDown";
|
(findDisplay 46) displayRemoveAllEventHandlers "KeyDown";
|
||||||
(findDisplay 46) displayAddEventHandler ["KeyDown", preprocessFileLineNumbers (MISSION_ROOT+'keyboard.sqf')];
|
(findDisplay 46) displayAddEventHandler ["KeyDown", preprocessFileLineNumbers (MISSION_ROOT+'keyboard.sqf')];
|
||||||
if (!isNil "bis_fnc_halo_para_keydown_eh") then {bis_fnc_halo_para_keydown_eh = (finddisplay 46) displayaddeventhandler ["keydown","_this call bis_fnc_halo_para_keydown;"];}; // halo in progress
|
if (!isNil "bis_fnc_halo_keydown_eh") then {bis_fnc_halo_keydown_eh = (finddisplay 46) displayaddeventhandler ["keydown","_this call bis_fnc_halo_keydown;"];}; // halo in progress
|
||||||
//diag_log [diag_ticktime, __FILE__, "eh reset" ];
|
//diag_log [diag_ticktime, __FILE__, "eh reset" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -979,8 +979,8 @@ class FSM
|
|||||||
"progressLoadingScreen 0.95;" \n
|
"progressLoadingScreen 0.95;" \n
|
||||||
"dayz_loadScreenMsg = localize 'str_player_setup_completed';" \n
|
"dayz_loadScreenMsg = localize 'str_player_setup_completed';" \n
|
||||||
"_torev4l=nearestObjects [_setPos, Dayz_plants + DayZ_GearedObjects + [""AllVehicles"",""WeaponHolder""], 50];" \n
|
"_torev4l=nearestObjects [_setPos, Dayz_plants + DayZ_GearedObjects + [""AllVehicles"",""WeaponHolder""], 50];" \n
|
||||||
"{ [_x,0] spawn object_roadFlare } count (allMissionObjects ""RoadFlare"");" \n
|
"{ _null = [_x,0] spawn object_roadFlare; } count (allMissionObjects ""RoadFlare"");" \n
|
||||||
"{ [_x,1] spawn object_roadFlare } count (allMissionObjects ""ChemLight"");" \n
|
"{ _null = [_x,1] spawn object_roadFlare; } count (allMissionObjects ""ChemLight"");" \n
|
||||||
"{" \n
|
"{" \n
|
||||||
" _fadeFire = _x getVariable['fadeFire', true];" \n
|
" _fadeFire = _x getVariable['fadeFire', true];" \n
|
||||||
" if (!_fadeFire) then {" \n
|
" if (!_fadeFire) then {" \n
|
||||||
|
|||||||
Reference in New Issue
Block a user