mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
RHS CH-47 - use animationSourcePhase (#5201)
This commit is contained in:
parent
24966281e7
commit
772ca1313e
@ -18,7 +18,13 @@
|
||||
#include "script_component.hpp"
|
||||
params ["_vehicle", "_door"];
|
||||
|
||||
(_vehicle doorPhase _door > 0) &&
|
||||
(
|
||||
if (_vehicle isKindOf "RHS_CH_47F") then {
|
||||
(_vehicle animationSourcePhase _door) > 0
|
||||
} else {
|
||||
(_vehicle doorPhase _door) > 0
|
||||
}
|
||||
) &&
|
||||
{alive _vehicle} &&
|
||||
{!(_vehicle getVariable [QEGVAR(fastroping,doorsLocked),false])} &&
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user