Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_AIGroupInfoComponent.c File Reference

Go to the source code of this file.

Data Structures

class  SCR_AIGroupInfoComponentClass
 

Functions

bool IsGrenadeThrowAllowed (AIAgent soldierAgent)
 
void OnAgentSelectedGrenade (AIAgent soldierAgent)
 
override protected void OnPostInit (IEntity owner)
 Called on PostInit when all components are added. More...
 
void SetGroupControlMode (EGroupControlMode currControlMode)
 
protected void RplSetGroupControlMode (EGroupControlMode currControlMode)
 
EGroupControlMode GetGroupControlMode ()
 
ScriptInvoker GetOnControlModeChanged ()
 
override bool RplLoad (ScriptBitReader reader)
 

Variables

SCR_AIGroupInfoComponentClass NONE = 0
 
SCR_AIGroupInfoComponentClass IDLE = 0
 Group has no waypoints and does not engage an enemy. More...
 
SCR_AIGroupInfoComponentClass AUTONOMOUS = 0
 Group behaves autonomously, e.g. engaging an enemy. More...
 
SCR_AIGroupInfoComponentClass FOLLOWING_WAYPOINT = 0
 Group is following a waypoint. More...
 
SCR_AIGroupInfoComponentClass LAST = 0
 
SCR_AIGroupInfoComponentClass m_eGroupControlMode = 0
 
protected ref ScriptInvoker Event_OnControlModeChanged = new ScriptInvoker()
 
protected float m_fTimeGrenadeThrowAllowed_ms
 
protected AIAgent m_GrenadeThrowAgent
 
return true
 

Function Documentation

◆ GetGroupControlMode()

EGroupControlMode GetGroupControlMode ( )
Returns

Definition at line 85 of file SCR_AIGroupInfoComponent.c.

◆ GetOnControlModeChanged()

ScriptInvoker GetOnControlModeChanged ( )
Returns

Definition at line 92 of file SCR_AIGroupInfoComponent.c.

◆ IsGrenadeThrowAllowed()

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

Definition at line 28 of file SCR_AIGroupInfoComponent.c.

◆ OnAgentSelectedGrenade()

void OnAgentSelectedGrenade ( AIAgent  soldierAgent)
Parameters
[in]soldierAgent

Definition at line 38 of file SCR_AIGroupInfoComponent.c.

◆ RplLoad()

override bool RplLoad ( ScriptBitReader  reader)

Definition at line 106 of file SCR_AIGroupInfoComponent.c.

◆ RplSetGroupControlMode()

protected void RplSetGroupControlMode ( EGroupControlMode  currControlMode)

Definition at line 73 of file SCR_AIGroupInfoComponent.c.

◆ SetGroupControlMode()

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

Definition at line 54 of file SCR_AIGroupInfoComponent.c.

Variable Documentation

◆ AUTONOMOUS

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

◆ Event_OnControlModeChanged

protected ref ScriptInvoker Event_OnControlModeChanged = new ScriptInvoker()

Definition at line 19 of file SCR_AIGroupInfoComponent.c.

◆ FOLLOWING_WAYPOINT

SCR_AIGroupInfoComponentClass FOLLOWING_WAYPOINT = 0

Group is following a waypoint.

◆ IDLE

IDLE = 0

Group has no waypoints and does not engage an enemy.

Definition at line 14 of file EMovementType.c.

◆ LAST

◆ m_eGroupControlMode

SCR_AIGroupInfoComponentClass m_eGroupControlMode = 0

◆ m_fTimeGrenadeThrowAllowed_ms

protected float m_fTimeGrenadeThrowAllowed_ms

Definition at line 21 of file SCR_AIGroupInfoComponent.c.

◆ m_GrenadeThrowAgent

protected AIAgent m_GrenadeThrowAgent

Definition at line 22 of file SCR_AIGroupInfoComponent.c.

◆ NONE

◆ true

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

Definition at line 99 of file SCR_AIGroupInfoComponent.c.

m_eGroupControlMode
SCR_AIGroupInfoComponentClass m_eGroupControlMode