This commit is contained in:
vbawol
2013-02-17 09:15:49 -06:00
parent 9ca20ad439
commit e32d70c97b
3 changed files with 9 additions and 3 deletions

View File

@@ -89,7 +89,7 @@ class CfgMagazines {
text = $STR_ACTIONS_BUILD;
script = "spawn player_build;";
require = "ItemToolbox";
create = "Wire_cat1";
create = "Fort_RazorWire";
};
};
};

View File

@@ -43,7 +43,13 @@ if (_qty >= _qty_in) then {
_dir = 90;
_location = [(position player),0,20,1,0,20,0] call BIS_fnc_findSafePos;
_helipad = nearestObjects [player, ["HeliHCivil"], 200];
if(count _helipad > 0) then {
_location = (getPosATL (_helipad select 0));
} else {
_location = [(position player),0,20,1,0,20,0] call BIS_fnc_findSafePos;
}
//place tent (local)
_veh = createVehicle [_part_out, _location, [], 0, "CAN_COLLIDE"];