V58 Fixes

This commit is contained in:
second_coming
2016-08-10 23:45:10 +01:00
parent bb0747b48e
commit 03a3fcc2fa
4 changed files with 2 additions and 5 deletions

View File

@ -138,10 +138,6 @@ _locations = (nearestLocations [_spawnCenter, ["NameVillage","NameCity", "NameCi
//_safeSpawnPosition = [_pos,10,100,5,0,20,0] call BIS_fnc_findSafePos;
_safeSpawnPosition = _pos findEmptyPosition [0,50,"B_T_MRAP_01_F"];
diag_log "==========================================================================================================================";
diag_log format["_pos: %1 _safeSpawnPosition: %2 _temppos: %3 location: %4 (%5)",_pos,_safeSpawnPosition,_temppos,_x,_locationName];
diag_log "==========================================================================================================================";
if(count _safeSpawnPosition == 0) exitWith
{

View File

@ -192,6 +192,7 @@ SC_suitablePlayers = [];
_selectedPlayer = _x;
_suitablePlayer = true;
_suitablePlayerisBambi = _selectedPlayer getVariable "ExileIsBambi";
if(isNil "_suitablePlayerisBambi") then { _suitablePlayerisBambi = false; };
if(_suitablePlayerisBambi && !SC_randomSpawnTargetBambis) exitWith
{
_suitablePlayer = false;

View File

@ -71,7 +71,7 @@ if(SC_occupyRandomSpawn) then
{
uiSleep 15; // delay the start
fnc_occupyRandomSpawn = compile preprocessFileLineNumbers "\x\addons\a3_exile_occupation\scripts\occupationRandomSpawn.sqf";
[SC_refreshTime, fnc_occupyRandomSpawn, [], true] call ExileServer_system_thread_addTask;
[60, fnc_occupyRandomSpawn, [], true] call ExileServer_system_thread_addTask;
};
if(SC_occupyLootCrates) then