4 override void SetState(
bool enable)
6 HelicopterControllerComponent helicopterControllerComponent = HelicopterControllerComponent.Cast(m_VehicleController);
8 if (!helicopterControllerComponent)
11 helicopterControllerComponent.SetAutohoverEnabled(enable);
13 SoundComponent soundComponent = SoundComponent.Cast(
GetOwner().FindComponent(SoundComponent));
24 override bool GetState()
26 return HelicopterControllerComponent.Cast(m_VehicleController) && HelicopterControllerComponent.Cast(m_VehicleController).GetAutohoverEnabled();