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:
ebaydayz
2016-04-17 20:10:54 -04:00
parent a994e7107c
commit e13b5dbdff
2 changed files with 3 additions and 3 deletions

View File

@@ -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" ];
}; };

View File

@@ -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