mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
fixed minor typo in vars
This commit is contained in:
parent
54af60ccc2
commit
292108715b
@ -212,13 +212,13 @@ for "_i" from 1 to _maxVehicleLimit do {
|
||||
|
||||
// vehicle simulation handler
|
||||
if (_simulationHandler) then{
|
||||
_vehicle enableSimulationGlobal false;
|
||||
_vehicle enableSimulationGlobal false;
|
||||
};
|
||||
|
||||
|
||||
// new Dynamicsimulation
|
||||
_vehObj enableSimulationGlobal false; // turn it off until activated by dynamicSim
|
||||
_vehObj enableDynamicSimulation true;
|
||||
|
||||
_vehicle enableSimulationGlobal false; // turn it off until activated by dynamicSim
|
||||
_vehicle enableDynamicSimulation true;
|
||||
|
||||
// turrets
|
||||
/*
|
||||
_mags = _vehicle magazinesTurret [0];
|
||||
|
@ -43,7 +43,7 @@ _fuel = fuel _veh;
|
||||
deletevehicle _veh;
|
||||
waituntil {isnull _veh};
|
||||
_pos set [2,(_pos select 2)+0.5];
|
||||
_newVeh = createVehicle [_UpgradeVeh, [random 500, random 500,500], [], 0, "CAN_COLLIDE"];
|
||||
_newVeh = createVehicle [_UpgradeVeh, [random 500, random 500,500], [], 0, "CAN_COLLIDE"];
|
||||
_newVeh setVariable ["VEHICLE_SLOT", _slot, true];
|
||||
if!(_baseVeh isEqualTo "")then
|
||||
{
|
||||
@ -58,7 +58,7 @@ _newVeh setposasl _pos;
|
||||
|
||||
// set fuel level
|
||||
_newVeh setFuel _fuel;
|
||||
|
||||
|
||||
// apply persistent textures
|
||||
_cfgEpochVehicles = 'CfgEpochVehicles' call EPOCH_returnConfig;
|
||||
_newbaseVeh = _veh getVariable ["VEHICLE_BASECLASS",""];
|
||||
@ -78,7 +78,7 @@ if (isArray(_availableColorsConfig)) then {
|
||||
} forEach _selections;
|
||||
_newVeh setVariable ["VEHICLE_TEXTURE", _color];
|
||||
};
|
||||
|
||||
|
||||
// disable thermal imaging equipment
|
||||
_newVeh disableTIEquipment true;
|
||||
|
||||
@ -99,12 +99,12 @@ if !(_allHitpoints isEqualTo []) then{
|
||||
};
|
||||
|
||||
// new Dynamicsimulation
|
||||
_vehObj enableSimulationGlobal false; // turn it off until activated by dynamicSim
|
||||
_vehObj enableDynamicSimulation true;
|
||||
_newveh enableSimulationGlobal false; // turn it off until activated by dynamicSim
|
||||
_newveh enableDynamicSimulation true;
|
||||
|
||||
|
||||
// add back old inventory
|
||||
[_newveh,_cargo] call EPOCH_server_CargoFill;
|
||||
|
||||
// save new vehicle to db
|
||||
_newveh call EPOCH_Server_Save_Vehicle;
|
||||
_newveh call EPOCH_Server_Save_Vehicle;
|
||||
|
@ -107,12 +107,12 @@ if !(isNull _vehObj) then{
|
||||
_vehLockHiveKey = format["%1:%2", (call EPOCH_fn_InstanceID), _slot];
|
||||
["VehicleLock", _vehLockHiveKey] call EPOCH_fnc_server_hiveDEL;
|
||||
};
|
||||
|
||||
|
||||
// new Dynamicsimulation
|
||||
_vehObj enableSimulationGlobal false; // turn it off until activated by dynamicSim
|
||||
_vehObj enableDynamicSimulation true;
|
||||
|
||||
|
||||
|
||||
// SAVE VEHICLE
|
||||
_vehObj call EPOCH_server_save_vehicle;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user