Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_ScriptedCommandsStaticTable.c
Go to the documentation of this file.
2 {
3  //------------------------------------------------------------------------------------------------
4  // constructor
6  {
7  }
8 
9  //------------------------------------------------------------------------------------------------
13  bool Bind(CharacterAnimationComponent animationComponent)
14  {
15  m_CommandGesture = animationComponent.BindCommand("CMD_Gestures");
16 
17  m_IsLoiteringTag = GameAnimationUtils.RegisterAnimationTag("IsLoitering");
18  m_IsLoiteringStartingTag = GameAnimationUtils.RegisterAnimationTag("IsLoiteringStarting");
19  m_IsChangingWeaponTag = GameAnimationUtils.RegisterAnimationTag("TagChangingWeapon");
20 
21  m_bIsBound = m_CommandGesture != -1 && m_IsLoiteringTag != -1 && m_IsLoiteringStartingTag != -1 && m_IsChangingWeaponTag != -1;
22  return m_bIsBound;
23  }
24 
25  //------------------------------------------------------------------------------------------------
28  bool IsBound()
29  {
30  return m_bIsBound;
31  }
32 
33  // Loiter
34  TAnimGraphCommand m_CommandGesture = -1;
35  TAnimGraphTag m_IsLoiteringTag = -1;
36  TAnimGraphTag m_IsLoiteringStartingTag = -1;
37  TAnimGraphTag m_IsChangingWeaponTag = -1;
38 
39  protected bool m_bIsBound = false;
40 };
SCR_ScriptedCommandsStaticTable
Definition: SCR_ScriptedCommandsStaticTable.c:1
GameAnimationUtils
Definition: GameAnimationUtils.c:7