|
Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Go to the documentation of this file.
15 class SCR_AIGroupInfoComponent : SCR_AIInfoBaseComponent
32 float time_ms =
GetGame().GetWorld().GetWorldTime();
40 float time_ms =
GetGame().GetWorld().GetWorldTime();
48 super.OnPostInit(owner);
49 SetEventMask(owner, EntityEvent.INIT);
57 AddDebugMessage(
string.Format(
"SetGroupControlMode: %1",
typename.EnumToString(EGroupControlMode, currControlMode)), msgType:
EAIDebugMsgType.INFO);
63 if (!Replication.IsServer())
72 [
RplRpc(RplChannel.Reliable, RplRcver.Broadcast)]
80 aiWorld.GetOnControlModeChanged().Invoke(AIGroup.Cast(
GetOwner()), currControlMode);
108 EGroupControlMode groupControlMode;
110 reader.ReadIntRange(groupControlMode, 0, EGroupControlMode.LAST-1);
SCR_FragmentEntityClass ComponentEditorProps
SCR_AIGroupInfoComponentClass m_eGroupControlMode
SCR_AIGroupInfoComponentClass FOLLOWING_WAYPOINT
Group is following a waypoint.
ArmaReforgerScripted GetGame()
void SetGroupControlMode(EGroupControlMode currControlMode)
SCR_AchievementsHandlerClass ScriptComponentClass RplRpc(RplChannel.Reliable, RplRcver.Owner)] void UnlockOnClient(AchievementId achievement)
override bool RplLoad(ScriptBitReader reader)
protected float m_fTimeGrenadeThrowAllowed_ms
protected void RplSetGroupControlMode(EGroupControlMode currControlMode)
SCR_AIGroupInfoComponentClass NONE
void OnAgentSelectedGrenade(AIAgent soldierAgent)
protected AIAgent m_GrenadeThrowAgent
override protected void OnPostInit(IEntity owner)
Called on PostInit when all components are added.
IEntity GetOwner()
Owner entity of the fuel tank.
bool IsGrenadeThrowAllowed(AIAgent soldierAgent)
EGroupControlMode GetGroupControlMode()
SCR_AIGroupInfoComponentClass IDLE
Group has no waypoints and does not engage an enemy.
SCR_AIGroupInfoComponentClass AUTONOMOUS
Group behaves autonomously, e.g. engaging an enemy.
SCR_AIGroupInfoComponentClass LAST
ScriptInvoker GetOnControlModeChanged()
protected ref ScriptInvoker Event_OnControlModeChanged