fix vault from moving potental fix for tents too

This commit is contained in:
A Clark
2012-11-25 08:55:00 -06:00
parent c55f242fd3
commit 3f29dc5766
5 changed files with 59 additions and 56 deletions

View File

@@ -49,11 +49,13 @@ if (!_isOk) then {
//place tent (local)
_tent = createVehicle ["VaultStorageLocked", _location, [], 0, "CAN_COLLIDE"];
_tent setdir _dir;
_location = getPosATL _tent;
_tent setpos _location;
player reveal _tent;
_location = getPosATL _tent;
_tent setVariable ["characterID",dayz_characterID,true];
_tent setVariable ["OEMPos",_location,true];
//player setVariable ["tentUpdate",["Land_A_tent",_dir,_location,[dayz_tentWeapons,dayz_tentMagazines,dayz_tentBackpacks]],true];