From 2ee0043ac718ad414ce38b4d523b9d9e514a51d2 Mon Sep 17 00:00:00 2001 From: Fallingsheep1985 Date: Mon, 16 Feb 2015 13:20:03 +1100 Subject: [PATCH] deploy update --- MPMissions/epoch.Altis/custom/deployvehicle.sqf | 14 +++++++++++--- MPMissions/epoch.Altis/{custom => deploy}/bike.sqf | 0 .../epoch.Altis/{custom => deploy}/chopper.sqf | 0 .../epoch.Altis/{custom => deploy}/packbike2.sqf | 0 MPMissions/epoch.Altis/init.sqf | 2 +- 5 files changed, 12 insertions(+), 4 deletions(-) rename MPMissions/epoch.Altis/{custom => deploy}/bike.sqf (100%) rename MPMissions/epoch.Altis/{custom => deploy}/chopper.sqf (100%) rename MPMissions/epoch.Altis/{custom => deploy}/packbike2.sqf (100%) diff --git a/MPMissions/epoch.Altis/custom/deployvehicle.sqf b/MPMissions/epoch.Altis/custom/deployvehicle.sqf index 3634c1f..566cabf 100644 --- a/MPMissions/epoch.Altis/custom/deployvehicle.sqf +++ b/MPMissions/epoch.Altis/custom/deployvehicle.sqf @@ -1,14 +1,22 @@ +/* +Created By Fallingsheep + +add this to your init +//Deploy bike/chopper +[] execVM "deploy\deployvehicle.sqf"; +*/ + //BUILD BIKE if (("ItemScraps" in magazines player)&&("ToolKit" in magazines player)) then{ - act = player addaction [("" + ("Build Bike") +""),"custom\Bike.sqf","",5,false,true,"",""]; + act = player addaction [("" + ("Build Bike") +""),"deploy\Bike.sqf","",5,false,true,"",""]; }; //BUILD CHOPPER if (("ItemScraps" in magazines player)&&("jerrycan_epoch" in magazines player)&&("CircuitParts" in magazines player)&&("VehicleRepair" in magazines player)) then { - act = player addaction [("" + ("Build Chopper") +""),"custom\chopper.sqf","",5,false,true,"",""]; + act = player addaction [("" + ("Build Chopper") +""),"deploy\chopper.sqf","",5,false,true,"",""]; }; //PACK BIKE _target = cursorTarget; _isbike = _target isKindOf "ebike_epoch"; if (_isbike) then{ - act = player addaction [("" + ("PackBike") +""),"custom\packbike2.sqf","",5,false,true,"",""]; + act = player addaction [("" + ("PackBike") +""),"deploy\packbike2.sqf","",5,false,true,"",""]; }; \ No newline at end of file diff --git a/MPMissions/epoch.Altis/custom/bike.sqf b/MPMissions/epoch.Altis/deploy/bike.sqf similarity index 100% rename from MPMissions/epoch.Altis/custom/bike.sqf rename to MPMissions/epoch.Altis/deploy/bike.sqf diff --git a/MPMissions/epoch.Altis/custom/chopper.sqf b/MPMissions/epoch.Altis/deploy/chopper.sqf similarity index 100% rename from MPMissions/epoch.Altis/custom/chopper.sqf rename to MPMissions/epoch.Altis/deploy/chopper.sqf diff --git a/MPMissions/epoch.Altis/custom/packbike2.sqf b/MPMissions/epoch.Altis/deploy/packbike2.sqf similarity index 100% rename from MPMissions/epoch.Altis/custom/packbike2.sqf rename to MPMissions/epoch.Altis/deploy/packbike2.sqf diff --git a/MPMissions/epoch.Altis/init.sqf b/MPMissions/epoch.Altis/init.sqf index fe118ac..bbe9b72 100644 --- a/MPMissions/epoch.Altis/init.sqf +++ b/MPMissions/epoch.Altis/init.sqf @@ -28,7 +28,7 @@ _logistic = execVM "=BTC=_Logistic\=BTC=_logistic_Init.sqf"; [] execVM "custom\loadout.sqf"; //Deploy bike/chopper -[] execVM "custom\deployvehicle.sqf"; +[] execVM "deploy\deployvehicle.sqf"; //Status Bar [] execVM "custom\fn_statusBar.sqf";