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

Protected Member Functions

void InitParameters (IEntity artilleryEntity, vector targetPos)
void SCR_AIStaticArtilleryBehavior (SCR_AIUtilityComponent utility, SCR_AIActivityBase groupActivity, IEntity artilleryEntity, vector targetPos, SCR_EAIArtilleryAmmoType ammoType, float priorityLevel=PRIORITY_LEVEL_NORMAL)
ScriptInvokerBase< SCR_AIStaticArtilleryBehavior_OnArtilleryFiredGetOnArtilleryFired ()
 Returns event which is invoked every time AI who executes this behavior fires an artillery.
int GetShotCount ()
void Internal_OnArtilleryFired ()
 Called by the SCR_AIStaticArtilleryBehavior_ShootingLogic node from behavior tree.
override void OnActionSelected ()
override void OnActionDeselected ()
void OnArtilleryEntityDeleted (SCR_AIVehicleUsageComponent comp)
bool InitAmmoPrefabValue ()
 Finds which prefab is used by the muzzle.
override string GetActionDebugInfo ()

Protected Attributes

ref SCR_BTParam< IEntitym_ArtilleryEntity = new SCR_BTParam<IEntity>("ArtilleryEntity")
ref SCR_BTParam< vectorm_vTargetPos = new SCR_BTParam<vector>("TargetPos")
ref SCR_BTParam< IEntitym_InventoryEntity = new SCR_BTParam<IEntity>("InventoryEntity")
ref SCR_BTParam< ResourceNamem_AmmoPrefab = new SCR_BTParam<ResourceName>("AmmoPrefab")
int m_iShotCount = 0
SCR_EAIArtilleryAmmoType m_eAmmoType
ref ScriptInvokerBase< SCR_AIStaticArtilleryBehavior_OnArtilleryFiredm_OnArtilleryFired

Detailed Description

Definition at line 8 of file SCR_AIStaticArtilleryBehavior.c.

Constructor & Destructor Documentation

◆ SCR_AIStaticArtilleryBehavior()

void SCR_AIStaticArtilleryBehavior::SCR_AIStaticArtilleryBehavior ( SCR_AIUtilityComponent utility,
SCR_AIActivityBase groupActivity,
IEntity artilleryEntity,
vector targetPos,
SCR_EAIArtilleryAmmoType ammoType,
float priorityLevel = PRIORITY_LEVEL_NORMAL )
inlineprotected

Definition at line 36 of file SCR_AIStaticArtilleryBehavior.c.

Member Function Documentation

◆ GetActionDebugInfo()

override string SCR_AIStaticArtilleryBehavior::GetActionDebugInfo ( )
inlineprotected

Definition at line 131 of file SCR_AIStaticArtilleryBehavior.c.

◆ GetOnArtilleryFired()

ScriptInvokerBase< SCR_AIStaticArtilleryBehavior_OnArtilleryFired > SCR_AIStaticArtilleryBehavior::GetOnArtilleryFired ( )
inlineprotected

Returns event which is invoked every time AI who executes this behavior fires an artillery.

Definition at line 57 of file SCR_AIStaticArtilleryBehavior.c.

◆ GetShotCount()

int SCR_AIStaticArtilleryBehavior::GetShotCount ( )
inlineprotected

Definition at line 65 of file SCR_AIStaticArtilleryBehavior.c.

◆ InitAmmoPrefabValue()

bool SCR_AIStaticArtilleryBehavior::InitAmmoPrefabValue ( )
inlineprotected

Finds which prefab is used by the muzzle.

Definition at line 112 of file SCR_AIStaticArtilleryBehavior.c.

◆ InitParameters()

void SCR_AIStaticArtilleryBehavior::InitParameters ( IEntity artilleryEntity,
vector targetPos )
inlineprotected

Definition at line 28 of file SCR_AIStaticArtilleryBehavior.c.

◆ Internal_OnArtilleryFired()

void SCR_AIStaticArtilleryBehavior::Internal_OnArtilleryFired ( )
inlineprotected

Called by the SCR_AIStaticArtilleryBehavior_ShootingLogic node from behavior tree.

Definition at line 72 of file SCR_AIStaticArtilleryBehavior.c.

◆ OnActionDeselected()

override void SCR_AIStaticArtilleryBehavior::OnActionDeselected ( )
inlineprotected

Definition at line 97 of file SCR_AIStaticArtilleryBehavior.c.

◆ OnActionSelected()

override void SCR_AIStaticArtilleryBehavior::OnActionSelected ( )
inlineprotected

Definition at line 81 of file SCR_AIStaticArtilleryBehavior.c.

◆ OnArtilleryEntityDeleted()

void SCR_AIStaticArtilleryBehavior::OnArtilleryEntityDeleted ( SCR_AIVehicleUsageComponent comp)
inlineprotected

Definition at line 104 of file SCR_AIStaticArtilleryBehavior.c.

Member Data Documentation

◆ m_AmmoPrefab

ref SCR_BTParam<ResourceName> SCR_AIStaticArtilleryBehavior::m_AmmoPrefab = new SCR_BTParam<ResourceName>("AmmoPrefab")
protected

Definition at line 17 of file SCR_AIStaticArtilleryBehavior.c.

◆ m_ArtilleryEntity

ref SCR_BTParam<IEntity> SCR_AIStaticArtilleryBehavior::m_ArtilleryEntity = new SCR_BTParam<IEntity>("ArtilleryEntity")
protected

Definition at line 10 of file SCR_AIStaticArtilleryBehavior.c.

◆ m_eAmmoType

SCR_EAIArtilleryAmmoType SCR_AIStaticArtilleryBehavior::m_eAmmoType
protected

Definition at line 23 of file SCR_AIStaticArtilleryBehavior.c.

◆ m_InventoryEntity

ref SCR_BTParam<IEntity> SCR_AIStaticArtilleryBehavior::m_InventoryEntity = new SCR_BTParam<IEntity>("InventoryEntity")
protected

Definition at line 14 of file SCR_AIStaticArtilleryBehavior.c.

◆ m_iShotCount

int SCR_AIStaticArtilleryBehavior::m_iShotCount = 0
protected

Definition at line 20 of file SCR_AIStaticArtilleryBehavior.c.

◆ m_OnArtilleryFired

ref ScriptInvokerBase<SCR_AIStaticArtilleryBehavior_OnArtilleryFired> SCR_AIStaticArtilleryBehavior::m_OnArtilleryFired
protected

Definition at line 25 of file SCR_AIStaticArtilleryBehavior.c.

◆ m_vTargetPos

ref SCR_BTParam<vector> SCR_AIStaticArtilleryBehavior::m_vTargetPos = new SCR_BTParam<vector>("TargetPos")
protected

Definition at line 11 of file SCR_AIStaticArtilleryBehavior.c.


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