deploy update

This commit is contained in:
Fallingsheep1985 2015-02-16 13:20:03 +11:00
parent 88ab72a437
commit 2ee0043ac7
5 changed files with 12 additions and 4 deletions

View File

@ -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 [("<t color=""#0074E8"">" + ("Build Bike") +"</t>"),"custom\Bike.sqf","",5,false,true,"",""];
act = player addaction [("<t color=""#0074E8"">" + ("Build Bike") +"</t>"),"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 [("<t color=""#0074E8"">" + ("Build Chopper") +"</t>"),"custom\chopper.sqf","",5,false,true,"",""];
act = player addaction [("<t color=""#0074E8"">" + ("Build Chopper") +"</t>"),"deploy\chopper.sqf","",5,false,true,"",""];
};
//PACK BIKE
_target = cursorTarget;
_isbike = _target isKindOf "ebike_epoch";
if (_isbike) then{
act = player addaction [("<t color=""#0074E8"">" + ("PackBike") +"</t>"),"custom\packbike2.sqf","",5,false,true,"",""];
act = player addaction [("<t color=""#0074E8"">" + ("PackBike") +"</t>"),"deploy\packbike2.sqf","",5,false,true,"",""];
};

View File

@ -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";