8 override ENodeResult EOnTaskSimulate(AIAgent owner,
float dt)
10 Print(
"SCR_AISendInfoMessage is obsolete!", LogLevel.WARNING);
11 return ENodeResult.FAIL;
14 override string GetOnHoverDescription()
16 return "Obsolete! Use autogenerated SCR_AISendInfoMessage_... nodes instead!";
22 [
Attribute(
"", UIWidgets.EditBox,
"Related action type name")]
23 string m_sActionTypename;
25 override ENodeResult EOnTaskSimulate(AIAgent owner,
float dt)
27 if (!InitSendMessageInputs(owner))
31 msg.SetMessageParameters(
this);
32 msg.m_ActionTypename = m_sActionTypename.ToType();
33 if (!msg.m_ActionTypename)
34 return NodeError(
this, owner,
"Invalid type provided!");
39 override bool VisibleInPalette()
47 const static string PORT_TARGET_ENTITY =
"TargetEntity";
49 protected static const ref TStringArray s_aVarsIn2 = {PORT_RECEIVER, PORT_TARGET_ENTITY};
50 override TStringArray GetVariablesIn()
55 override ENodeResult EOnTaskSimulate(AIAgent owner,
float dt)
57 if (!InitSendMessageInputs(owner))
61 msg.SetMessageParameters(
this);
64 GetVariableIn(PORT_TARGET_ENTITY, targetEntity);
66 msg.m_TargetEntity = targetEntity;
71 override bool VisibleInPalette()