3 static const string PORT_PRIORITY_LEVEL =
"PriorityLevel";
6 protected static ref TStringArray s_aVarsOut = {
9 override TStringArray GetVariablesOut()
15 override ENodeResult EOnTaskSimulate(AIAgent owner,
float dt)
17 AIGroup group = AIGroup.Cast(owner);
21 return ENodeResult.FAIL;
27 return ENodeResult.FAIL;
30 SetVariableOut(PORT_PRIORITY_LEVEL, wp.GetPriorityLevel());
31 return ENodeResult.SUCCESS;
35 protected override bool VisibleInPalette()
41 protected override string GetOnHoverDescription()
43 return "Returns if waypoint is priority, i.e. autonomous behavior of AI will be ignored.";