11 fuelManagerComponent = FuelManagerComponent.Cast(entity.GetOwner().FindComponent(FuelManagerComponent));
12 return fuelManagerComponent !=
null;
24 return damageComponent.GetState() !=
EDamageState.DESTROYED;
29 FuelManagerComponent fuelManagerComponent;
30 array<BaseFuelNode> fuelNodes =
new array<BaseFuelNode>;
31 return GetFuelManagerComponent(selectedEntity, fuelManagerComponent) && fuelManagerComponent.GetFuelNodesList(fuelNodes) > 0;
36 FuelManagerComponent fuelManagerComponent;
37 if(IsAlive(selectedEntity) && GetFuelManagerComponent(selectedEntity, fuelManagerComponent) && fuelManagerComponent.CanBeRefueled())
47 FuelManagerComponent fuelManagerComponent;
48 if(GetFuelManagerComponent(selectedEntity, fuelManagerComponent))
50 array<BaseFuelNode> nodes = {};
51 fuelManagerComponent.GetFuelNodesList(nodes);
52 SCR_FuelNode fuelNode;
55 node.SetFuel(node.GetMaxFuel());