3 static const string PORT_GROUP_OUT =
"GroupOut";
6 override bool VisibleInPalette()
12 protected static ref TStringArray s_aVarsOut = {
15 override TStringArray GetVariablesOut()
21 override void OnInit(AIAgent owner)
23 if (GetVariableType(
false, PORT_GROUP_OUT) != AIGroup)
25 NodeError(
this, owner, PORT_GROUP_OUT+
" should be AIGroup");
30 protected override ENodeResult EOnTaskSimulate(AIAgent owner,
float dt)
32 AIGroup group = AIGroup.Cast(owner.GetParentGroup());
35 SetVariableOut(PORT_GROUP_OUT,group);
36 return ENodeResult.SUCCESS;
39 return ENodeResult.FAIL;