File tree Expand file tree Collapse file tree 2 files changed +23
-0
lines changed
Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Original file line number Diff line number Diff 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
7678lbSetCurSel [2102 , 0 ];
7779
7880// Supports !!! CHECK TO ADD AT INIT
Original file line number Diff line number Diff 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};
121142vehic = nil ;
122143publicVariable " commandpointsblu1" ;
You can’t perform that action at this time.
0 commit comments