mirror of
https://github.com/Fallingsheep1985/Arma3Epoch.git
synced 2024-08-30 16:42:12 +00:00
deploy update
This commit is contained in:
parent
88ab72a437
commit
2ee0043ac7
@ -1,14 +1,22 @@
|
|||||||
|
/*
|
||||||
|
Created By Fallingsheep
|
||||||
|
|
||||||
|
add this to your init
|
||||||
|
//Deploy bike/chopper
|
||||||
|
[] execVM "deploy\deployvehicle.sqf";
|
||||||
|
*/
|
||||||
|
|
||||||
//BUILD BIKE
|
//BUILD BIKE
|
||||||
if (("ItemScraps" in magazines player)&&("ToolKit" in magazines player)) then{
|
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
|
//BUILD CHOPPER
|
||||||
if (("ItemScraps" in magazines player)&&("jerrycan_epoch" in magazines player)&&("CircuitParts" in magazines player)&&("VehicleRepair" in magazines player)) then {
|
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
|
//PACK BIKE
|
||||||
_target = cursorTarget;
|
_target = cursorTarget;
|
||||||
_isbike = _target isKindOf "ebike_epoch";
|
_isbike = _target isKindOf "ebike_epoch";
|
||||||
if (_isbike) then{
|
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,"",""];
|
||||||
};
|
};
|
@ -28,7 +28,7 @@ _logistic = execVM "=BTC=_Logistic\=BTC=_logistic_Init.sqf";
|
|||||||
[] execVM "custom\loadout.sqf";
|
[] execVM "custom\loadout.sqf";
|
||||||
|
|
||||||
//Deploy bike/chopper
|
//Deploy bike/chopper
|
||||||
[] execVM "custom\deployvehicle.sqf";
|
[] execVM "deploy\deployvehicle.sqf";
|
||||||
|
|
||||||
//Status Bar
|
//Status Bar
|
||||||
[] execVM "custom\fn_statusBar.sqf";
|
[] execVM "custom\fn_statusBar.sqf";
|
||||||
|
Loading…
Reference in New Issue
Block a user