mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
eject ai during cookoff
This commit is contained in:
parent
2231464087
commit
7d2f2023ee
@ -111,6 +111,12 @@ _vehicle setVariable [QGVAR(isCookingOff), true];
|
||||
|
||||
[_vehicle, _fnc_FlameEffect, 12] call _fnc_FlameEffect; // recursive function
|
||||
|
||||
{
|
||||
if (local _x && {!(_x call EFUNC(common,isPlayer))}) then {
|
||||
_x action ["Eject", _vehicle];
|
||||
};
|
||||
} forEach crew _vehicle;
|
||||
|
||||
[{
|
||||
params ["_vehicle", "_effects"];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user