4 static const string PORT_WAYPOINT =
"Waypoint";
7 static const string PORT_POSITION =
"Position";
8 static const string PORT_RADIUS =
"Radius";
12 override ENodeResult EOnTaskSimulate(AIAgent owner,
float dt)
15 GetVariableIn(PORT_WAYPOINT, wp);
19 ClearVariable(PORT_POSITION);
20 ClearVariable(PORT_RADIUS);
21 return ENodeResult.FAIL;
24 SetVariableOut(PORT_POSITION, wp.GetOrigin());
25 SetVariableOut(PORT_RADIUS, wp.GetCompletionRadius());
27 return ENodeResult.SUCCESS;
31 protected override bool VisibleInPalette() {
return true; }
33 protected static ref TStringArray s_aVarsIn = {
36 override TStringArray GetVariablesIn()
41 protected static ref TStringArray s_aVarsOut = {
45 override TStringArray GetVariablesOut()