7 override void OnInit(AIAgent owner)
12 override ENodeResult EOnTaskSimulate(AIAgent owner,
float dt)
14 if (GetVariableIn(
"VehicleIn",m_vehicleEnt))
16 Vehicle vehicle = Vehicle.Cast(m_vehicleEnt);
17 if (m_rGroup && vehicle)
20 m_rGroup.RemoveUsableVehicle(vehicle);
21 return ENodeResult.SUCCESS;
24 return ENodeResult.FAIL;
27 protected static ref TStringArray s_aVarsIn = {
30 override TStringArray GetVariablesIn()
35 override bool VisibleInPalette()
40 override string GetOnHoverDescription()
42 return "Remove stuck vehicle: when vehicle cannot be moved it removes it from group's list of owned vehicles";