File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed
Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -22,18 +22,7 @@ vehic = nil;
2222
2323switch (_index ) do {
2424 case 0 : { // Small Truck 1
25- if (commandpointsblu1 >= 4 ) then {
26- hint " Vehicle ready !" ;
27- commandpointsblu1 = commandpointsblu1 - 4 ;
28- ctrlSetText [1000 , format [" %1" ,commandpointsblu1]];
29- // Might want refactor this next bit so it isn't repeated
30- // In fact might want to refactor each case!
31- _spawnPos = (getpos hq_blu1) findEmptyPosition [40 , 120 , vehicleType]
32- _spawnPos = [(_spawnPos select 0 )+ 30 , _spawnPos select 1 ]
33- vehic = " I_G_Offroad_01_F" createVehicle _spawnPos ;
34- } else {
35- hint " Not enough command points" ;
36- };
25+ [4 , " I_G_Offroad_01_F" ] execVM " dialog\spawnVehicle.sqf" ;
3726 };
3827 case 1 : { // Small Truck 2
3928 if (commandpointsblu1 >= 6 ) then {
You can’t perform that action at this time.
0 commit comments