10 [
Attribute(defvalue:
"", uiwidget: UIWidgets.EditBox,
desc:
"(TEMP) Relavive path to a behavior tree with forward slashes \nExample: 'AI/BehaviorTrees/Chimera/Soldier/Wait.bt'",
params:
"bt")]
11 string m_OverrideBehaviorTree;
13 void PerformReaction(notnull SCR_AIUtilityComponent utility) {}
14 void PerformReaction(notnull SCR_AIGroupUtilityComponent utility) {}
17 protected void AddDebugMessage(SCR_AIUtilityComponent utility,
string str)
19 SCR_AIInfoBaseComponent infoComp = SCR_AIInfoBaseComponent.Cast(utility.GetOwner().FindComponent(SCR_AIInfoBaseComponent));
20 infoComp.AddDebugMessage(
string.Format(
"%1: %2",
this, str), msgType:
EAIDebugMsgType.REACTION);
32 override void PerformReaction(notnull SCR_AIUtilityComponent utility)
37 utility.AddAction(behavior);
44 override void PerformReaction(notnull SCR_AIUtilityComponent utility)
49 utility.AddAction(behavior);
52 override void PerformReaction(notnull SCR_AIGroupUtilityComponent utility)
55 utility.AddAction(activity);