Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_AIDecoTestIsReloading.c
Go to the documentation of this file.
1 class SCR_AIDecoTestIsReloading : DecoratorTestScripted
2 {
3  SCR_CharacterControllerComponent m_CharacterController;
4 
5  protected override bool TestFunction(AIAgent agent, IEntity controlled)
6  {
7  IEntity entity = agent.GetControlledEntity();
8  if (!entity)
9  return false;
10 
12  {
15  return false;
16  }
17 
18  return m_CharacterController.IsReloading();
19  }
20 };
m_CharacterController
SCR_CharacterPerceivableComponentClass m_CharacterController
SCR_CharacterControllerComponent
Definition: SCR_CharacterControllerComponent.c:35
SCR_AIDecoTestIsReloading
Definition: SCR_AIDecoTestIsReloading.c:1