Skip to content

Commit da73215

Browse files
committed
Added placeholders for EWS eventhandler and UAV crew creation.
1 parent 4af62b6 commit da73215

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

source/dialog/spawnVehicle.sqf

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,19 @@ if (commandpointsblu1 >= _requiredPoints) then {
77
_spawnPos = (getpos hq_blu1) findEmptyPosition [40, 120, _vehicleType];
88
_spawnPos = [(_spawnPos select 0), _spawnPos select 1];
99
vehic = _vehicleType createVehicle _spawnPos;
10+
11+
if(unitIsUAV vehic) then {
12+
createVehicleCrew vehic;
13+
};
14+
15+
if(vehic isKindOf "Tank") then {
16+
17+
};
18+
19+
if(vehic isKindOf "Wheeled_APC") then {
20+
21+
};
22+
1023
hint "Vehicle ready !";
1124
} else {
1225
hint "Not enough command points";

0 commit comments

Comments
 (0)