mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
Load Veh / Build - Compaticility to current DB
This commit is contained in:
parent
4ea25cc909
commit
8a412c0da1
@ -78,6 +78,11 @@ for "_i" from 0 to _this do {
|
||||
_worldspace params ["_pos","_vectordir","_vectorup",["_useworld",false]];
|
||||
_vectordirup = [_vectordir,_vectorup];
|
||||
|
||||
// increased position precision
|
||||
if (count _pos == 2) then{
|
||||
_pos = (_pos select 0) vectorAdd (_pos select 1);
|
||||
};
|
||||
|
||||
// remove old safes on && !(_class isKindOf 'Constructions_lockedstatic_F')
|
||||
if (isClass (configFile >> "CfgVehicles" >> _class) && (_damage < 1) && !(_class isKindOf 'Constructions_lockedstatic_F')) then {
|
||||
|
||||
|
@ -52,6 +52,11 @@ for "_i" from 1 to _maxStorageLimit do {
|
||||
_worldspace params ["_pos","_vectordir","_vectorup",["_useworld",false]];
|
||||
_vectordirup = [_vectordir,_vectorup];
|
||||
|
||||
// increased position precision
|
||||
if (count _pos == 2) then{
|
||||
_pos = (_pos select 0) vectorAdd(_pos select 1);
|
||||
};
|
||||
|
||||
_vehicle = createVehicle[_class, [0,0,0], [], 0, "CAN_COLLIDE"];
|
||||
|
||||
// find gardens
|
||||
|
Loading…
Reference in New Issue
Block a user