Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_AISendOrder.c
Go to the documentation of this file.
1 // Obsolete! Use SCR_AISendOrder_... instead!
3 {
4  static const string ORDER_TYPE = "OrderTypeIn";
5  static const string ORDER_VALUE = "OrderValueIn";
6  static const string ORDER_DEBUG_TEXT = "DebugText";
7 
8  [Attribute("0", UIWidgets.ComboBox, "Order type", "", ParamEnumArray.FromEnum(EOrderType_Character))]
9  private EOrderType_Character m_orderType;
10 
11  private int m_iValue // value of scripted order
12 
13  override ENodeResult EOnTaskSimulate(AIAgent owner, float dt)
14  {
15  Print("SCR_AISendOrder is obsolete!", LogLevel.WARNING);
16  return ENodeResult.FAIL;
17  }
18 
19  protected static ref TStringArray s_aVarsIn2 = {
20  ORDER_TYPE,
21  PORT_RECEIVER,
22  ORDER_VALUE,
23  ORDER_DEBUG_TEXT
24  };
25  override TStringArray GetVariablesIn()
26  {
27  return s_aVarsIn2;
28  }
29 
30  override string GetOnHoverDescription()
31  {
32  return "Obsolete! Use SCR_AISendOrder_... instead!";
33  };
34 };
EOrderType_Character
EOrderType_Character
Definition: SCR_AIOrder.c:1
m_iValue
protected int m_iValue
Definition: SCR_VotingBase.c:3
SCR_AISendOrder
Definition: SCR_AISendOrder.c:2
Attribute
typedef Attribute
Post-process effect of scripted camera.
SCR_AISendMessageGeneric
Class for generic nodes with extra input ports which send messages.
Definition: SCR_AISendMessage.c:73