v22 fixes

This commit is contained in:
second_coming
2016-04-16 20:12:56 +01:00
parent f6aac51555
commit fb3a0de122
4 changed files with 54 additions and 54 deletions

View File

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

View File

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

View File

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