3 static const string PORT_AI_STATE =
"AIState";
5 [
Attribute(
"0", UIWidgets.ComboBox,
"State of AI",
"", ParamEnumArray.FromEnum(EUnitAIState) )]
6 protected EUnitAIState m_stateToSet;
8 protected override bool VisibleInPalette()
13 override ENodeResult EOnTaskSimulate(AIAgent owner,
float dt)
16 if(!GetVariableIn(PORT_AI_STATE,state))
22 SCR_AIInfoComponent infoComp = chimeraAgent.m_InfoComponent;
26 infoComp.SetAIState(state);
27 return ENodeResult.SUCCESS;
30 override string GetOnHoverDescription()
32 return "Sets AI state either on self";
35 protected static ref TStringArray s_aVarsIn = {
38 override TStringArray GetVariablesIn()