Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_AIGroupInfoComponent.c File Reference

Go to the source code of this file.

Classes

class  SCR_AIGroupInfoComponentClass

Functions

override void EOnInit (IEntity owner)
bool IsGrenadeThrowAllowed (AIAgent soldierAgent)
bool IsIllumFlareAllowed ()
void OnIllumFlareUsed ()
void OnAgentSelectedGrenade (AIAgent soldierAgent)
void OnPostInit (IEntity owner)
 Editable Mine.
void SetGroupControlMode (EGroupControlMode currControlMode)
void RplSetGroupControlMode (EGroupControlMode currControlMode)
EGroupControlMode GetGroupControlMode ()
ScriptInvoker GetOnControlModeChanged ()
override bool RplLoad (ScriptBitReader reader)
void SetStanceLimit (ECharacterStance stance)
ECharacterStance GetStanceLimit ()
ECharacterStance GetAllowedStance (ECharacterStance stance)

Variables

SCR_AIGroupInfoComponentClass NONE = 0
SCR_AIGroupInfoComponentClass IDLE = 0
 Group has no waypoints and does not engage an enemy.
SCR_AIGroupInfoComponentClass AUTONOMOUS = 0
 Group behaves autonomously, e.g. engaging an enemy.
SCR_AIGroupInfoComponentClass FOLLOWING_WAYPOINT = 0
 Group is following a waypoint.
SCR_AIGroupInfoComponentClass LAST = 0
SCR_AIGroupInfoComponentClass GRENADE_THROW_TIMEOUT_MS = 4000
const float ILLUM_FLARE_MIN_TIMEOUT_MS = 25*1000
const float ILLUM_FLARE_MAX_TIMEOUT_MS = 40*1000
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;
return true

Function Documentation

◆ GetAllowedStance()

ECharacterStance GetAllowedStance ( ECharacterStance stance)
protected
Parameters
[in]stance

Definition at line 175 of file SCR_AIGroupInfoComponent.c.

◆ GetGroupControlMode()

EGroupControlMode GetGroupControlMode ( )
protected
Returns

Definition at line 128 of file SCR_AIGroupInfoComponent.c.

◆ GetOnControlModeChanged()

ScriptInvoker GetOnControlModeChanged ( )
protected
Returns

Definition at line 135 of file SCR_AIGroupInfoComponent.c.

◆ GetStanceLimit()

ECharacterStance GetStanceLimit ( )
protected

Definition at line 168 of file SCR_AIGroupInfoComponent.c.

◆ IsGrenadeThrowAllowed()

bool IsGrenadeThrowAllowed ( AIAgent soldierAgent)
protected
Parameters
[in]soldierAgent
Returns

Definition at line 49 of file SCR_AIGroupInfoComponent.c.

◆ IsIllumFlareAllowed()

bool IsIllumFlareAllowed ( )
protected

Definition at line 58 of file SCR_AIGroupInfoComponent.c.

◆ OnAgentSelectedGrenade()

void OnAgentSelectedGrenade ( AIAgent soldierAgent)
protected
Parameters
[in]soldierAgent

Definition at line 81 of file SCR_AIGroupInfoComponent.c.

◆ OnIllumFlareUsed()

void OnIllumFlareUsed ( )
protected

Definition at line 65 of file SCR_AIGroupInfoComponent.c.

◆ RplLoad()

override bool RplLoad ( ScriptBitReader reader)
protected

Definition at line 149 of file SCR_AIGroupInfoComponent.c.

◆ RplSetGroupControlMode()

void RplSetGroupControlMode ( EGroupControlMode currControlMode)
protected

Definition at line 116 of file SCR_AIGroupInfoComponent.c.

◆ SetGroupControlMode()

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

Definition at line 97 of file SCR_AIGroupInfoComponent.c.

◆ SetStanceLimit()

void SetStanceLimit ( ECharacterStance stance)
protected
Parameters
[in]stance

Definition at line 162 of file SCR_AIGroupInfoComponent.c.

Variable Documentation

◆ AUTONOMOUS

Group behaves autonomously, e.g. engaging an enemy.

◆ Event_OnControlModeChanged

ref ScriptInvoker Event_OnControlModeChanged = new ScriptInvoker()
protected

Definition at line 24 of file SCR_AIGroupInfoComponent.c.

◆ FOLLOWING_WAYPOINT

SCR_AIGroupInfoComponentClass FOLLOWING_WAYPOINT = 0

Group is following a waypoint.

◆ GRENADE_THROW_TIMEOUT_MS

SCR_AIGroupInfoComponentClass GRENADE_THROW_TIMEOUT_MS = 4000

◆ IDLE

IDLE = 0

Group has no waypoints and does not engage an enemy.

Definition at line 14 of file EMovementType.c.

◆ ILLUM_FLARE_MAX_TIMEOUT_MS

const float ILLUM_FLARE_MAX_TIMEOUT_MS = 40*1000

Definition at line 19 of file SCR_AIGroupInfoComponent.c.

◆ ILLUM_FLARE_MIN_TIMEOUT_MS

const float ILLUM_FLARE_MIN_TIMEOUT_MS = 25*1000

Definition at line 18 of file SCR_AIGroupInfoComponent.c.

◆ LAST

◆ m_eStanceLimit

ECharacterStance m_eStanceLimit = ECharacterStance.STAND
protected

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

Definition at line 32 of file SCR_AIGroupInfoComponent.c.

◆ m_fTimeGrenadeThrowAllowed_ms

float m_fTimeGrenadeThrowAllowed_ms
protected

Definition at line 26 of file SCR_AIGroupInfoComponent.c.

◆ m_fTimeIllumFlareAllowed_ms

float m_fTimeIllumFlareAllowed_ms
protected

Definition at line 28 of file SCR_AIGroupInfoComponent.c.

◆ m_GrenadeThrowAgent

AIAgent m_GrenadeThrowAgent
protected

Definition at line 30 of file SCR_AIGroupInfoComponent.c.

◆ m_UtilityComponent

SCR_AIGroupUtilityComponent m_UtilityComponent
protected

Definition at line 22 of file SCR_AIGroupInfoComponent.c.

◆ NONE

◆ true

return true
protected
Initial value:
{
writer.WriteIntRange(m_eGroupControlMode, 0, EGroupControlMode.LAST-1)

Definition at line 145 of file SCR_AIGroupInfoComponent.c.