Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_AIHealBehavior Class Reference
Inheritance diagram for SCR_AIHealBehavior:

Protected Member Functions

void SCR_AIHealBehavior (SCR_AIUtilityComponent utility, SCR_AIActivityBase groupActivity, IEntity entityToHeal, bool allowHealMove, float priority=PRIORITY_BEHAVIOR_HEAL, float priorityLevel=PRIORITY_LEVEL_NORMAL)
 priority should be between normal Move and AttackMove and replaced by enum later, maybe evaluated dynamicly
override int GetCause ()
override void OnActionCompleted ()
override float CustomEvaluate ()

Protected Attributes

const float PRIORITY_DELAY_MIN_MS = 800.0
const float PRIORITY_DELAY_MAX_MS = 1200.0
const float MAX_TIME_TO_UNCON_HIGH_PRIORITY_S = 30
float m_fTimeCreated_ms
float m_fPriorityDelay_ms

Detailed Description

Definition at line 4 of file SCR_AIHealingBehavior.c.

Constructor & Destructor Documentation

◆ SCR_AIHealBehavior()

void SCR_AIHealBehavior::SCR_AIHealBehavior ( SCR_AIUtilityComponent utility,
SCR_AIActivityBase groupActivity,
IEntity entityToHeal,
bool allowHealMove,
float priority = PRIORITY_BEHAVIOR_HEAL,
float priorityLevel = PRIORITY_LEVEL_NORMAL )
inlineprotected

priority should be between normal Move and AttackMove and replaced by enum later, maybe evaluated dynamicly

Definition at line 21 of file SCR_AIHealingBehavior.c.

Member Function Documentation

◆ CustomEvaluate()

override float SCR_AIHealBehavior::CustomEvaluate ( )
inlineprotected

Definition at line 58 of file SCR_AIHealingBehavior.c.

◆ GetCause()

override int SCR_AIHealBehavior::GetCause ( )
inlineprotected

Definition at line 43 of file SCR_AIHealingBehavior.c.

◆ OnActionCompleted()

override void SCR_AIHealBehavior::OnActionCompleted ( )
inlineprotected

Definition at line 49 of file SCR_AIHealingBehavior.c.

Member Data Documentation

◆ m_fPriorityDelay_ms

float SCR_AIHealBehavior::m_fPriorityDelay_ms
protected

Definition at line 17 of file SCR_AIHealingBehavior.c.

◆ m_fTimeCreated_ms

float SCR_AIHealBehavior::m_fTimeCreated_ms
protected

Definition at line 16 of file SCR_AIHealingBehavior.c.

◆ MAX_TIME_TO_UNCON_HIGH_PRIORITY_S

const float SCR_AIHealBehavior::MAX_TIME_TO_UNCON_HIGH_PRIORITY_S = 30
protected

Definition at line 14 of file SCR_AIHealingBehavior.c.

◆ PRIORITY_DELAY_MAX_MS

const float SCR_AIHealBehavior::PRIORITY_DELAY_MAX_MS = 1200.0
protected

Definition at line 12 of file SCR_AIHealingBehavior.c.

◆ PRIORITY_DELAY_MIN_MS

const float SCR_AIHealBehavior::PRIORITY_DELAY_MIN_MS = 800.0
protected

Definition at line 11 of file SCR_AIHealingBehavior.c.


The documentation for this class was generated from the following file: