3 override bool VisibleInPalette() {
return true;}
5 protected static ref TStringArray s_aVarsIn = {
8 override array<string> GetVariablesIn()
13 protected static ref TStringArray s_aVarsOut = {
17 override array<string> GetVariablesOut()
22 override ENodeResult EOnTaskSimulate(AIAgent owner,
float dt)
25 GetVariableIn(
"Entity",entity);
27 entity = owner.GetControlledEntity();
30 return ENodeResult.FAIL;
32 SetVariableOut(
"Position",entity.GetOrigin());
33 SetVariableOut(
"Rotation",entity.GetAngles());
35 return ENodeResult.SUCCESS;