Arma Reforger Explorer
1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Toggle main menu visibility
Loading...
Searching...
No Matches
SCR_AIDecoTestIsEntityBurning.c
Go to the documentation of this file.
1
class
SCR_AIDecoTestIsEntityBurning
:
DecoratorTestScripted
2
{
3
IEntity
m_ControlledEntity;
4
SCR_DamageManagerComponent m_DamageManager;
5
6
protected
override
bool
TestFunction
(AIAgent agent,
IEntity
controlled)
7
{
8
if
(!controlled)
9
return
false
;
10
11
if
(!m_DamageManager || m_ControlledEntity !=controlled)
12
{
13
m_DamageManager = SCR_DamageManagerComponent.GetDamageManager(controlled);
14
m_ControlledEntity = controlled;
15
}
16
17
return
SCR_AIVehicleUsability.VehicleIsOnFire(controlled, m_DamageManager);
18
}
19
}
DecoratorTestScripted
Definition
DecoratorTestScripted.c:13
IEntity
Definition
IEntity.c:13
SCR_AIDecoTestIsEntityBurning
Definition
SCR_AIDecoTestIsEntityBurning.c:2
SCR_AIDecoTestIsEntityBurning::TestFunction
override bool TestFunction(AIAgent agent, IEntity controlled)
Definition
SCR_AIDecoTestIsEntityBurning.c:6
scripts
Game
AI
ScriptedNodes
Vehicles
SCR_AIDecoTestIsEntityBurning.c
Generated by
1.17.0