3 ref SCR_BTParam<IEntity> m_EntityToResupply =
new SCR_BTParam<IEntity>(
SCR_AIActionTask.ENTITY_PORT);
4 ref SCR_BTParam<typename> m_MagazineWell =
new SCR_BTParam<typename>(
SCR_AIActionTask.MAGAZINE_WELL_PORT);
7 void InitParameters(IEntity entityToResupply,
typename magazineWell,
float priorityLevel)
9 m_EntityToResupply.Init(
this, entityToResupply);
10 m_MagazineWell.Init(
this, magazineWell);
15 void SCR_AIResupplyActivity(SCR_AIGroupUtilityComponent utility, AIWaypoint relatedWaypoint, IEntity ent,
typename magazineWell,
float priority = PRIORITY_ACTIVITY_RESUPPLY,
float priorityLevel = PRIORITY_LEVEL_NORMAL)
17 InitParameters(ent, magazineWell, priorityLevel);
18 m_sBehaviorTree =
"AI/BehaviorTrees/Chimera/Group/ActivityResupply.bt";
19 SetPriority(priority);
22 override string GetActionDebugInfo()
24 return this.ToString() +
" resupplying unit " + m_EntityToResupply.ValueToString() +
" with ammo type " + m_MagazineWell.ValueToString();