v22 fixes
This commit is contained in:
@ -2,7 +2,7 @@
|
|||||||
//
|
//
|
||||||
// Server Occupation script by second_coming
|
// Server Occupation script by second_coming
|
||||||
//
|
//
|
||||||
SC_occupationVersion = "v21 (16-04-2016)";
|
SC_occupationVersion = "v22 (16-04-2016)";
|
||||||
//
|
//
|
||||||
// http://www.exilemod.com/profile/60-second_coming/
|
// http://www.exilemod.com/profile/60-second_coming/
|
||||||
//
|
//
|
||||||
|
@ -324,7 +324,6 @@ _locations = (nearestLocations [_spawnCenter, ["NameVillage","NameCity", "NameCi
|
|||||||
_marker setMarkerBrush "Solid";
|
_marker setMarkerBrush "Solid";
|
||||||
_marker setMarkerAlpha 0.5;
|
_marker setMarkerAlpha 0.5;
|
||||||
_marker setMarkerText "Occupied Area";
|
_marker setMarkerText "Occupied Area";
|
||||||
};
|
|
||||||
|
|
||||||
if(_side == "survivor") then
|
if(_side == "survivor") then
|
||||||
{
|
{
|
||||||
@ -336,6 +335,7 @@ _locations = (nearestLocations [_spawnCenter, ["NameVillage","NameCity", "NameCi
|
|||||||
_marker setMarkerColor "ColorOrange";
|
_marker setMarkerColor "ColorOrange";
|
||||||
_logDetail = format ["[OCCUPATION:Places]:: Spawning %2 bandit AI in at %3 to patrol %1",_locationName,_aiCount,_spawnPosition];
|
_logDetail = format ["[OCCUPATION:Places]:: Spawning %2 bandit AI in at %3 to patrol %1",_locationName,_aiCount,_spawnPosition];
|
||||||
};
|
};
|
||||||
|
};
|
||||||
[_logDetail] call SC_fnc_log;
|
[_logDetail] call SC_fnc_log;
|
||||||
_okToSpawn = false;
|
_okToSpawn = false;
|
||||||
};
|
};
|
||||||
|
@ -213,7 +213,7 @@ if(_vehiclesToSpawn >= 1) then
|
|||||||
_unit forceAddUniform "Exile_Uniform_BambiOverall";
|
_unit forceAddUniform "Exile_Uniform_BambiOverall";
|
||||||
};
|
};
|
||||||
_unit assignAsCargo _vehicle;
|
_unit assignAsCargo _vehicle;
|
||||||
_unit moveInCargo [_vehicle, _vehicleSeat];
|
_unit moveInCargo _vehicle;
|
||||||
_unit setVariable ["DMS_AssignedVeh",_vehicle];
|
_unit setVariable ["DMS_AssignedVeh",_vehicle];
|
||||||
_unitPlaced = true;
|
_unitPlaced = true;
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user