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

Go to the source code of this file.

Classes

class  SCR_AmbientPatrolSpawnPointComponentClass

Functions

SCR_AmbientPatrolSpawnPointComponentClass ScriptComponentClass Attribute ("0", UIWidgets.ComboBox, enums:ParamEnumArray.FromEnum(SCR_EGroupType))] protected SCR_EGroupType m_eGroupType
ResourceName GetCycleWaypointPrefab ()
ResourceName GetDefaultWaypointPrefab ()
int GetSpawnDistanceOverride ()
int GetDespawnDistanceOverride ()
void SetMembersAlive (int count)
int GetMembersAlive ()
void SetIsSpawned (bool spawned)
bool GetIsSpawned ()
void SetIsPaused (bool paused)
bool GetIsPaused ()
float GetAILimitThreshold ()
void SetDespawnTimestamp (WorldTimestamp time)
WorldTimestamp GetDespawnTimestamp ()
void SetRespawnTimestamp (WorldTimestamp timestamp)
WorldTimestamp GetRespawnTimestamp ()
SCR_AIGroup GetSpawnedGroup ()
void SetspawnedGroup (SCR_AIGroup group)
AIWaypoint GetWaypoint ()
void SetWaypoint (AIWaypoint wp)
ResourceName GetRandomPrefabByProbability (notnull SCR_EntityCatalog entityCatalog, notnull array< SCR_EntityCatalogEntry > data)
void Update (SCR_Faction faction)
AIWaypointCycle SpawnCycleWaypoint (notnull EntitySpawnParams params)
void PrepareWaypoints ()
void SpawnPatrol ()
void DespawnPatrol ()
void ActivateGroup ()
void DeactivateGroup ()
bool IsGroupActive ()
void OnAgentRemoved ()
override void OnPostInit (IEntity owner)
 Editable Mine.
override void OnDelete (IEntity owner)

Variables

ResourceName m_sCycleWaypointPrefab
ResourceName m_sDefaultWaypointPrefab
bool m_bPickRandomGroupType
int m_iSpawnDistanceOverride
int m_iDespawnDistanceOverride
int m_iRespawnPeriod
float m_fAILimitThreshold
bool m_bSpawned
bool m_bPaused
bool m_bGroupActive
int m_iMembersAlive = -1
AIWaypoint m_Waypoint
ResourceName m_sPrefab
SCR_AIGroup m_Group
Faction m_SavedFaction
WorldTimestamp m_RespawnTimestamp
WorldTimestamp m_DespawnTimestamp

Function Documentation

◆ ActivateGroup()

void ActivateGroup ( )
protected

Definition at line 424 of file SCR_AmbientPatrolSpawnPointComponent.c.

◆ Attribute()

SCR_AmbientPatrolSpawnPointComponentClass ScriptComponentClass Attribute ( "0" ,
UIWidgets. ComboBox,
enums:ParamEnumArray. FromEnumSCR_EGroupType )

◆ DeactivateGroup()

void DeactivateGroup ( )
protected

Definition at line 434 of file SCR_AmbientPatrolSpawnPointComponent.c.

◆ DespawnPatrol()

void DespawnPatrol ( )
protected

Definition at line 404 of file SCR_AmbientPatrolSpawnPointComponent.c.

◆ GetAILimitThreshold()

float GetAILimitThreshold ( )
protected
Returns

Definition at line 112 of file SCR_AmbientPatrolSpawnPointComponent.c.

◆ GetCycleWaypointPrefab()

ResourceName Attribute::GetCycleWaypointPrefab ( )
protected
Returns

Definition at line 8 of file SCR_AmbientPatrolSpawnPointComponent.c.

◆ GetDefaultWaypointPrefab()

ResourceName Attribute::GetDefaultWaypointPrefab ( )
protected
Returns

Definition at line 15 of file SCR_AmbientPatrolSpawnPointComponent.c.

◆ GetDespawnDistanceOverride()

int GetDespawnDistanceOverride ( )
protected

Definition at line 62 of file SCR_AmbientPatrolSpawnPointComponent.c.

◆ GetDespawnTimestamp()

WorldTimestamp GetDespawnTimestamp ( )
protected
Returns

Definition at line 126 of file SCR_AmbientPatrolSpawnPointComponent.c.

◆ GetIsPaused()

bool GetIsPaused ( )
protected
Returns

Definition at line 105 of file SCR_AmbientPatrolSpawnPointComponent.c.

◆ GetIsSpawned()

bool GetIsSpawned ( )
protected
Returns

Definition at line 90 of file SCR_AmbientPatrolSpawnPointComponent.c.

◆ GetMembersAlive()

int GetMembersAlive ( )
protected
Returns

Definition at line 76 of file SCR_AmbientPatrolSpawnPointComponent.c.

◆ GetRandomPrefabByProbability()

ResourceName GetRandomPrefabByProbability ( notnull SCR_EntityCatalog entityCatalog,
notnull array< SCR_EntityCatalogEntry > data )
protected

Definition at line 175 of file SCR_AmbientPatrolSpawnPointComponent.c.

◆ GetRespawnTimestamp()

WorldTimestamp GetRespawnTimestamp ( )
protected
Returns

Definition at line 140 of file SCR_AmbientPatrolSpawnPointComponent.c.

◆ GetSpawnDistanceOverride()

int GetSpawnDistanceOverride ( )
protected

Definition at line 56 of file SCR_AmbientPatrolSpawnPointComponent.c.

◆ GetSpawnedGroup()

SCR_AIGroup GetSpawnedGroup ( )
protected
Returns

Definition at line 147 of file SCR_AmbientPatrolSpawnPointComponent.c.

◆ GetWaypoint()

AIWaypoint GetWaypoint ( )
protected
Returns

Definition at line 163 of file SCR_AmbientPatrolSpawnPointComponent.c.

◆ IsGroupActive()

bool IsGroupActive ( )
protected
Returns

Definition at line 445 of file SCR_AmbientPatrolSpawnPointComponent.c.

◆ OnAgentRemoved()

void OnAgentRemoved ( )
protected

Definition at line 451 of file SCR_AmbientPatrolSpawnPointComponent.c.

◆ OnDelete()

override void OnDelete ( IEntity owner)
protected

Definition at line 482 of file SCR_AmbientPatrolSpawnPointComponent.c.

◆ PrepareWaypoints()

void PrepareWaypoints ( )
protected

Definition at line 321 of file SCR_AmbientPatrolSpawnPointComponent.c.

◆ SetDespawnTimestamp()

void SetDespawnTimestamp ( WorldTimestamp time)
protected
Parameters
[in]time

Definition at line 119 of file SCR_AmbientPatrolSpawnPointComponent.c.

◆ SetIsPaused()

void SetIsPaused ( bool paused)
protected

Pause this spawnpoint so a group will not be spawned unless players leave and re-enter the area

Parameters
[in]paused

Definition at line 98 of file SCR_AmbientPatrolSpawnPointComponent.c.

◆ SetIsSpawned()

void SetIsSpawned ( bool spawned)
protected
Parameters
[in]spawned

Definition at line 83 of file SCR_AmbientPatrolSpawnPointComponent.c.

◆ SetMembersAlive()

void SetMembersAlive ( int count)
protected
Parameters
[in]count

Definition at line 69 of file SCR_AmbientPatrolSpawnPointComponent.c.

◆ SetRespawnTimestamp()

void SetRespawnTimestamp ( WorldTimestamp timestamp)
protected
Parameters
[in]timestamp

Definition at line 133 of file SCR_AmbientPatrolSpawnPointComponent.c.

◆ SetspawnedGroup()

void SetspawnedGroup ( SCR_AIGroup group)
protected

Definition at line 153 of file SCR_AmbientPatrolSpawnPointComponent.c.

◆ SetWaypoint()

void SetWaypoint ( AIWaypoint wp)
protected

Definition at line 169 of file SCR_AmbientPatrolSpawnPointComponent.c.

◆ SpawnCycleWaypoint()

AIWaypointCycle SpawnCycleWaypoint ( notnull EntitySpawnParams params)
protected

Definition at line 270 of file SCR_AmbientPatrolSpawnPointComponent.c.

◆ SpawnPatrol()

void SpawnPatrol ( )
protected

Definition at line 351 of file SCR_AmbientPatrolSpawnPointComponent.c.

◆ Update()

void Update ( SCR_Faction faction)
protected

Definition at line 225 of file SCR_AmbientPatrolSpawnPointComponent.c.

Variable Documentation

◆ m_bGroupActive

bool m_bGroupActive
protected

Definition at line 46 of file SCR_AmbientPatrolSpawnPointComponent.c.

◆ m_bPaused

bool m_bPaused
protected

Definition at line 45 of file SCR_AmbientPatrolSpawnPointComponent.c.

◆ m_bPickRandomGroupType

bool m_bPickRandomGroupType
protected

Definition at line 30 of file SCR_AmbientPatrolSpawnPointComponent.c.

◆ m_bSpawned

bool m_bSpawned
protected

Definition at line 44 of file SCR_AmbientPatrolSpawnPointComponent.c.

◆ m_DespawnTimestamp

WorldTimestamp m_DespawnTimestamp
protected

Definition at line 53 of file SCR_AmbientPatrolSpawnPointComponent.c.

◆ m_fAILimitThreshold

float m_fAILimitThreshold
protected

Definition at line 42 of file SCR_AmbientPatrolSpawnPointComponent.c.

◆ m_Group

SCR_AIGroup m_Group
protected

Definition at line 50 of file SCR_AmbientPatrolSpawnPointComponent.c.

◆ m_iDespawnDistanceOverride

int m_iDespawnDistanceOverride
protected

Definition at line 36 of file SCR_AmbientPatrolSpawnPointComponent.c.

◆ m_iMembersAlive

int m_iMembersAlive = -1
protected

Definition at line 47 of file SCR_AmbientPatrolSpawnPointComponent.c.

◆ m_iRespawnPeriod

int m_iRespawnPeriod
protected

Definition at line 39 of file SCR_AmbientPatrolSpawnPointComponent.c.

◆ m_iSpawnDistanceOverride

int m_iSpawnDistanceOverride
protected

Definition at line 33 of file SCR_AmbientPatrolSpawnPointComponent.c.

◆ m_RespawnTimestamp

WorldTimestamp m_RespawnTimestamp
protected

Definition at line 52 of file SCR_AmbientPatrolSpawnPointComponent.c.

◆ m_SavedFaction

Faction m_SavedFaction
protected

Definition at line 51 of file SCR_AmbientPatrolSpawnPointComponent.c.

◆ m_sCycleWaypointPrefab

ResourceName m_sCycleWaypointPrefab
protected

Definition at line 1 of file SCR_AmbientPatrolSpawnPointComponent.c.

◆ m_sDefaultWaypointPrefab

ResourceName m_sDefaultWaypointPrefab
protected

Definition at line 4 of file SCR_AmbientPatrolSpawnPointComponent.c.

◆ m_sPrefab

ResourceName m_sPrefab
protected

Definition at line 49 of file SCR_AmbientPatrolSpawnPointComponent.c.

◆ m_Waypoint

AIWaypoint m_Waypoint
protected

Definition at line 48 of file SCR_AmbientPatrolSpawnPointComponent.c.