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

Protected Member Functions

void SCR_AIProvideAmmoBehavior (SCR_AIUtilityComponent utility, SCR_AIActivityBase groupActivity, IEntity ammoConsumer, typename magazineWellType, float priorityLevel=PRIORITY_LEVEL_NORMAL)
override int GetCause ()
override float CustomEvaluate ()
override void OnActionCompleted ()
override void OnActionFailed ()

Protected Attributes

float MOVE_COMPLETION_RADIUS = 10
ref SCR_BTParam< IEntitym_AmmoConsumer = new SCR_BTParam<IEntity>(AMMO_CONSUMER_ENTITY_PORT)
ref SCR_BTParam< typenamem_MagazineWellType = new SCR_BTParam<typename>(MAGAZINE_WELL_TYPE_PORT)
ref SCR_AIMoveIndividuallyBehavior m_MoveBehavior

Static Protected Attributes

static const string AMMO_CONSUMER_ENTITY_PORT = "AmmoConsumerEntity"
static const string MAGAZINE_WELL_TYPE_PORT = "MagazineWellType"

Detailed Description

Behavior for one soldier to provide ammunition to another one.

Definition at line 4 of file SCR_AIProvideAmmoBehavior.c.

Constructor & Destructor Documentation

◆ SCR_AIProvideAmmoBehavior()

void SCR_AIProvideAmmoBehavior::SCR_AIProvideAmmoBehavior ( SCR_AIUtilityComponent utility,
SCR_AIActivityBase groupActivity,
IEntity ammoConsumer,
typename magazineWellType ,
float priorityLevel = PRIORITY_LEVEL_NORMAL )
inlineprotected

Definition at line 17 of file SCR_AIProvideAmmoBehavior.c.

Member Function Documentation

◆ CustomEvaluate()

override float SCR_AIProvideAmmoBehavior::CustomEvaluate ( )
inlineprotected

Definition at line 42 of file SCR_AIProvideAmmoBehavior.c.

◆ GetCause()

override int SCR_AIProvideAmmoBehavior::GetCause ( )
inlineprotected

Definition at line 36 of file SCR_AIProvideAmmoBehavior.c.

◆ OnActionCompleted()

override void SCR_AIProvideAmmoBehavior::OnActionCompleted ( )
inlineprotected

Definition at line 57 of file SCR_AIProvideAmmoBehavior.c.

◆ OnActionFailed()

override void SCR_AIProvideAmmoBehavior::OnActionFailed ( )
inlineprotected

Definition at line 65 of file SCR_AIProvideAmmoBehavior.c.

Member Data Documentation

◆ AMMO_CONSUMER_ENTITY_PORT

const string SCR_AIProvideAmmoBehavior::AMMO_CONSUMER_ENTITY_PORT = "AmmoConsumerEntity"
staticprotected

Definition at line 8 of file SCR_AIProvideAmmoBehavior.c.

◆ m_AmmoConsumer

ref SCR_BTParam<IEntity> SCR_AIProvideAmmoBehavior::m_AmmoConsumer = new SCR_BTParam<IEntity>(AMMO_CONSUMER_ENTITY_PORT)
protected

Definition at line 11 of file SCR_AIProvideAmmoBehavior.c.

◆ m_MagazineWellType

ref SCR_BTParam<typename> SCR_AIProvideAmmoBehavior::m_MagazineWellType = new SCR_BTParam<typename>(MAGAZINE_WELL_TYPE_PORT)
protected

Definition at line 12 of file SCR_AIProvideAmmoBehavior.c.

◆ m_MoveBehavior

ref SCR_AIMoveIndividuallyBehavior SCR_AIProvideAmmoBehavior::m_MoveBehavior
protected

Definition at line 14 of file SCR_AIProvideAmmoBehavior.c.

◆ MAGAZINE_WELL_TYPE_PORT

const string SCR_AIProvideAmmoBehavior::MAGAZINE_WELL_TYPE_PORT = "MagazineWellType"
staticprotected

Definition at line 9 of file SCR_AIProvideAmmoBehavior.c.

◆ MOVE_COMPLETION_RADIUS

float SCR_AIProvideAmmoBehavior::MOVE_COMPLETION_RADIUS = 10
protected

Definition at line 6 of file SCR_AIProvideAmmoBehavior.c.


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