welcome
I need help in connection with a script
the animation is not in operation long ago I was good because I used
I need help in connection with a script
the animation is not in operation long ago I was good because I used
private ["_target"];
_target = _this select 3;
_isGate = ["wood_gate","MetalGate_4"];
if (typeOf _target in _isGate) then {
_target animate ["DoorR", 1];
_target animate ["DoorL", 1];
cutText ["Unlocked", "PLAIN DOWN"];
} else {
_target animate ["", 1]; //to be the animation
cutText ["Unlocked.", "PLAIN DOWN"];
};
_target setVariable ["isOpen", "1", true];