mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
15 lines
340 B
Plaintext
15 lines
340 B
Plaintext
// by commy2
|
|
|
|
private ["_vehicle", "_wheels"];
|
|
|
|
_vehicle = _this select 0;
|
|
//_wheels = _this select 1;
|
|
|
|
_wheels = getArray (configFile >> "CfgVehicles" >> typeOf _vehicle >> "AGM_Wheels");
|
|
|
|
_wheels = [_wheels, {_vehicle getHitPointDamage _this < 1}] call AGM_Core_fnc_filter;
|
|
|
|
count _wheels > 0
|
|
&& {alive _vehicle}
|
|
&& {speed _vehicle == 0}
|