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
11
if
(!
m_CharacterController
)
12
{
13
m_CharacterController
=
SCR_CharacterControllerComponent
.Cast(entity.FindComponent(
SCR_CharacterControllerComponent
));
14
if
(!
m_CharacterController
)
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
scripts_Arma_Reforger_v1.1.0.42
scripts
Game
AI
ScriptedNodes
Weapons
SCR_AIDecoTestIsReloading.c
Generated by
1.8.17