3 static const string WAYPOINT_PORT =
"WaypointIn";
4 static const string RADIUS_PORT =
"RadiusOut";
6 protected AIWaypoint m_Waypoint;
9 protected static ref TStringArray s_aVarsIn = {
14 override TStringArray GetVariablesIn()
20 protected static ref TStringArray s_aVarsOut = {
25 override TStringArray GetVariablesOut()
31 override ENodeResult EOnTaskSimulate(AIAgent owner,
float dt)
33 AIGroup group = AIGroup.Cast(owner);
37 return ENodeResult.FAIL;
44 ClearVariable(RADIUS_PORT);
45 return ENodeResult.FAIL;
48 SetVariableOut(RADIUS_PORT,
m_Waypoint.GetCompletionRadius());
49 return ENodeResult.SUCCESS;
53 protected override bool VisibleInPalette()