Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
SCR_AIGroupInfoComponent Interface Reference
Inheritance diagram for SCR_AIGroupInfoComponent:
[legend]

Public Member Functions

override void EOnInit (IEntity owner)
 
bool IsGrenadeThrowAllowed (AIAgent soldierAgent)
 
bool IsIllumFlareAllowed ()
 
void OnIllumFlareUsed ()
 
void OnAgentSelectedGrenade (AIAgent soldierAgent)
 
void SetGroupControlMode (EGroupControlMode currControlMode)
 
EGroupControlMode GetGroupControlMode ()
 
ScriptInvoker GetOnControlModeChanged ()
 
override bool RplSave (ScriptBitWriter writer)
 
override bool RplLoad (ScriptBitReader reader)
 
void SetStanceLimit (ECharacterStance stance)
 
ECharacterStance GetStanceLimit ()
 
ECharacterStance GetAllowedStance (ECharacterStance stance)
 

Static Public Attributes

const float GRENADE_THROW_TIMEOUT_MS = 4000
 
const float ILLUM_FLARE_MIN_TIMEOUT_MS = 25*1000
 
const float ILLUM_FLARE_MAX_TIMEOUT_MS = 40*1000
 

Protected Member Functions

override void OnPostInit (IEntity owner)
 
void RplSetGroupControlMode (EGroupControlMode currControlMode)
 

Protected Attributes

SCR_AIGroupUtilityComponent m_UtilityComponent
 
ref ScriptInvoker Event_OnControlModeChanged = new ScriptInvoker()
 
float m_fTimeGrenadeThrowAllowed_ms
 
float m_fTimeIllumFlareAllowed_ms
 
AIAgent m_GrenadeThrowAgent
 
ECharacterStance m_eStanceLimit = ECharacterStance.STAND
 upper stance limit set by group leader's stance in ActivityFollow for recruited AIs to copy;
 

Member Function Documentation

◆ EOnInit()

override void SCR_AIGroupInfoComponent.EOnInit ( IEntity  owner)

◆ GetAllowedStance()

ECharacterStance SCR_AIGroupInfoComponent.GetAllowedStance ( ECharacterStance  stance)
Parameters
[in]stance

◆ GetGroupControlMode()

EGroupControlMode SCR_AIGroupInfoComponent.GetGroupControlMode ( )
Returns

◆ GetOnControlModeChanged()

ScriptInvoker SCR_AIGroupInfoComponent.GetOnControlModeChanged ( )
Returns

◆ GetStanceLimit()

ECharacterStance SCR_AIGroupInfoComponent.GetStanceLimit ( )

◆ IsGrenadeThrowAllowed()

bool SCR_AIGroupInfoComponent.IsGrenadeThrowAllowed ( AIAgent  soldierAgent)
Parameters
[in]soldierAgent
Returns

◆ IsIllumFlareAllowed()

bool SCR_AIGroupInfoComponent.IsIllumFlareAllowed ( )

◆ OnAgentSelectedGrenade()

void SCR_AIGroupInfoComponent.OnAgentSelectedGrenade ( AIAgent  soldierAgent)
Parameters
[in]soldierAgent

◆ OnIllumFlareUsed()

void SCR_AIGroupInfoComponent.OnIllumFlareUsed ( )

◆ OnPostInit()

override void SCR_AIGroupInfoComponent.OnPostInit ( IEntity  owner)
protected

◆ RplLoad()

override bool SCR_AIGroupInfoComponent.RplLoad ( ScriptBitReader  reader)

◆ RplSave()

override bool SCR_AIGroupInfoComponent.RplSave ( ScriptBitWriter  writer)

◆ RplSetGroupControlMode()

void SCR_AIGroupInfoComponent.RplSetGroupControlMode ( EGroupControlMode  currControlMode)
protected

◆ SetGroupControlMode()

void SCR_AIGroupInfoComponent.SetGroupControlMode ( EGroupControlMode  currControlMode)
Parameters
[in]currControlMode
Parameters
currControlModeThis is informative property, does not set the behavior of group to the respective state!

◆ SetStanceLimit()

void SCR_AIGroupInfoComponent.SetStanceLimit ( ECharacterStance  stance)
Parameters
[in]stance

Member Data Documentation

◆ Event_OnControlModeChanged

ref ScriptInvoker SCR_AIGroupInfoComponent.Event_OnControlModeChanged = new ScriptInvoker()
protected

◆ GRENADE_THROW_TIMEOUT_MS

const float SCR_AIGroupInfoComponent.GRENADE_THROW_TIMEOUT_MS = 4000
static

◆ ILLUM_FLARE_MAX_TIMEOUT_MS

const float SCR_AIGroupInfoComponent.ILLUM_FLARE_MAX_TIMEOUT_MS = 40*1000
static

◆ ILLUM_FLARE_MIN_TIMEOUT_MS

const float SCR_AIGroupInfoComponent.ILLUM_FLARE_MIN_TIMEOUT_MS = 25*1000
static

◆ m_eStanceLimit

ECharacterStance SCR_AIGroupInfoComponent.m_eStanceLimit = ECharacterStance.STAND
protected

upper stance limit set by group leader's stance in ActivityFollow for recruited AIs to copy;

◆ m_fTimeGrenadeThrowAllowed_ms

float SCR_AIGroupInfoComponent.m_fTimeGrenadeThrowAllowed_ms
protected

◆ m_fTimeIllumFlareAllowed_ms

float SCR_AIGroupInfoComponent.m_fTimeIllumFlareAllowed_ms
protected

◆ m_GrenadeThrowAgent

AIAgent SCR_AIGroupInfoComponent.m_GrenadeThrowAgent
protected

◆ m_UtilityComponent

SCR_AIGroupUtilityComponent SCR_AIGroupInfoComponent.m_UtilityComponent
protected

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