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_AIDecoTestCharacterWounded.c
Go to the documentation of this file.
1
/*
2
Returns true character is wounded.
3
*/
4
class
SCR_AIDecoTestCharacterWounded
:
DecoratorTestScripted
5
{
6
protected
override
bool
TestFunction
(AIAgent agent,
IEntity
controlled)
7
{
8
if
(!controlled)
9
return
false
;
10
11
return
SCR_AIDamageHandling.IsCharacterWounded(controlled);
12
}
13
};
DecoratorTestScripted
Definition
DecoratorTestScripted.c:13
IEntity
Definition
IEntity.c:13
SCR_AIDecoTestCharacterWounded
Definition
SCR_AIDecoTestCharacterWounded.c:5
SCR_AIDecoTestCharacterWounded::TestFunction
override bool TestFunction(AIAgent agent, IEntity controlled)
Definition
SCR_AIDecoTestCharacterWounded.c:6
scripts
Game
AI
ScriptedNodes
Utils
SCR_AIDecoTestCharacterWounded.c
Generated by
1.17.0