File tree Expand file tree Collapse file tree 4 files changed +34
-0
lines changed
Expand file tree Collapse file tree 4 files changed +34
-0
lines changed Original file line number Diff line number Diff line change @@ -86,6 +86,16 @@ AIO_resupply_fnc =
8686 _unit = _this select 0 ;
8787 _suppVeh = (_this select 1 ) select 0 ;
8888 _action = (_this select 1 ) select 1 ;
89+ if (AIO_useVoiceChat) then {
90+ _action spawn {
91+ private _dummy = " #particlesource" createVehicleLocal ASLToAGL getPosWorld player ;
92+ if (_this == 1 ) then {_dummy say2D " AIO_say_Rearm" };
93+ if (_this == 2 ) then {_dummy say2D " AIO_say_RefuelVeh" };
94+ if (_this == 3 ) then {_dummy say2D " AIO_say_RepairVeh" };
95+ sleep 2 ;
96+ deleteVehicle _dummy ;
97+ };
98+ };
8999 _veh = vehicle _unit ;
90100 _commander = effectiveCommander _veh ;
91101 _cond = (_commander ! = _unit && _commander ! = player );
Original file line number Diff line number Diff line change @@ -4,6 +4,14 @@ if !(_static isKindOf "StaticWeapon") exitWith {};
44_vehclass = typeOf _static ;
55_vehname = getText (configFile >> " CfgVehicles" >> _vehclass >> " displayName" );
66player groupChat (format [" Disassemble that %1 ." , _vehname ]);
7+ if (AIO_useVoiceChat) then {
8+ [] spawn {
9+ private _dummy = " #particlesource" createVehicleLocal ASLToAGL getPosWorld player ;
10+ _dummy say2D " AIO_say_Disassemble" ;
11+ sleep 2 ;
12+ deleteVehicle _dummy ;
13+ };
14+ };
715if (count _units == 2 ) then {
816 _unit1 = _units select 0 ;
917 _unit2 = _units select 1 ;
Original file line number Diff line number Diff line change 11private [" _selectedUnits" , " _target" , " _unit" , " _tarPos" ];
22_selectedUnits = _this select 0 ;
33_tarPos = screenToWorld [0.5 ,0.5 ];
4+ if (AIO_useVoiceChat) then {
5+ [] spawn {
6+ private _dummy = " #particlesource" createVehicleLocal ASLToAGL getPosWorld player ;
7+ _dummy say2D " AIO_say_OpenPack" ;
8+ sleep 2 ;
9+ deleteVehicle _dummy ;
10+ };
11+ };
412if (count _selectedUnits == 1 ) then {
513 _target = cursorTarget ;
614 if ! (isNull _target ) then {_tarPos = getPos _target };
Original file line number Diff line number Diff line change @@ -10,6 +10,14 @@ if (_mode == 2) then {
1010if (_mode == 3 ) then {_target = _this select 2 };
1111
1212player groupChat " Rearm." ;
13+ if (AIO_useVoiceChat) then {
14+ [] spawn {
15+ private _dummy = " #particlesource" createVehicleLocal ASLToAGL getPosWorld player ;
16+ _dummy say2D " AIO_say_Rearm" ;
17+ sleep 2 ;
18+ deleteVehicle _dummy ;
19+ };
20+ };
1321
1422AIO_moveToRearm =
1523{
You can’t perform that action at this time.
0 commit comments