Skip to content

Commit c25848a

Browse files
committed
Added Black Wasp II and Stealth version
1 parent db62868 commit c25848a

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

source/dialog/request.sqf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ _index1 = lbAdd [2102, "UAV Darter(5CP)"]; // 32
7373
_index1 = lbAdd [2102, "Blackfish Infantry (40CP)"]; // 33
7474
_index1 = lbAdd [2102, "Blackfish Vehicle (45CP)"]; // 34
7575
_index1 = lbAdd [2102, "Blackfish Armed (60CP)"]; // 35
76+
_index1 = lbAdd [2102, "Black Wasp II (50CP)"]; // 36
77+
_index1 = lbAdd [2102, "Black Wasp II (Stealth) (60CP)"]; // 37
7678
lbSetCurSel [2102, 0];
7779

7880
// Supports !!! CHECK TO ADD AT INIT

source/dialog/request_vehicle.sqf

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,27 @@ switch (_index) do {
117117
case 35: { // Blackfish (Armed)
118118
[60, "B_T_VTOL_01_armed_F"] execVM "dialog\spawnVehicle.sqf";
119119
};
120+
case 36: { //WASP
121+
if (commandpointsblu1 >= 50) then {
122+
hint "Vehicle ready !";
123+
commandpointsblu1 = commandpointsblu1 - 50;
124+
ctrlSetText [1000, format["%1",commandpointsblu1]];
125+
vehic = "B_Plane_Fighter_01_F" createVehicle _spawnPos;
126+
} else {
127+
hint "Not enough command points";
128+
};
129+
};
130+
131+
case 37: { //WASP (Stealth)
132+
if (commandpointsblu1 >= 60) then {
133+
hint "Vehicle ready !";
134+
commandpointsblu1 = commandpointsblu1 - 60;
135+
ctrlSetText [1000, format["%1",commandpointsblu1]];
136+
vehic = "B_Plane_Fighter_01_Stealth_F" createVehicle _spawnPos;
137+
} else {
138+
hint "Not enough command points";
139+
};
140+
};
120141
};
121142
vehic = nil;
122143
publicVariable "commandpointsblu1";

0 commit comments

Comments
 (0)