3 ref SCR_BTParam<IEntity> m_Vehicle =
new SCR_BTParam<IEntity>(
SCR_AIActionTask.ENTITY_PORT);
4 ref SCR_BTParam<ECompartmentType> m_eRoleInVehicle =
new SCR_BTParam<ECompartmentType>(
SCR_AIActionTask.ROLEINVEHICLE_PORT);
7 void InitParameters(IEntity vehicle,
ECompartmentType role,
float priorityLevel)
17 InitParameters(vehicle, role, priorityLevel);
18 m_sBehaviorTree =
"AI/BehaviorTrees/Chimera/Group/ActivityGetIn.bt";
19 SetPriority(priority);
21 m_OwnerGroup =
SCR_AIGroup.Cast(utility.GetAIAgent());
25 override string GetActionDebugInfo()
31 override void OnActionDeselected()
33 super.OnActionDeselected();
34 m_OwnerGroup.ReleaseCompartments();
38 override void OnActionCompleted()
40 super.OnActionCompleted();
41 m_OwnerGroup.ReleaseCompartments();
45 override void OnActionFailed()
47 super.OnActionFailed();
48 m_OwnerGroup.ReleaseCompartments();
49 m_OwnerGroup.RemoveUsableVehicle(
m_Vehicle.m_Value);