3 ENodeResult
NodeError(Node node, AIAgent owner,
string msg)
5 string sOwner = owner.ToString();
7 node.GetCallstackStr(nodeStack);
8 Debug.Error(sOwner +
" : " + nodeStack +
"\n" + msg);
9 return ENodeResult.FAIL;
16 NodeError(node,owner, node.Type().ToString() +
" must be run on group AIAgent!");
23 string sOwner = owner.ToString();
25 node.GetCallstackStr(nodeStack);
26 Debug.Error(sOwner +
" : " + nodeStack +
"\n" +
"must be run on ChimeraAIAgent!");
27 return ENodeResult.FAIL;
34 return NodeError(node, owner,
string.Format(
"Combat Move Request is null or of wring type: %1", rq));