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

Go to the source code of this file.

Data Structures

class  SCR_AmbientVehicleSpawnPointComponentClass
 

Functions

SCR_AmbientVehicleSpawnPointComponentClass ScriptComponentClass Attribute ("0", UIWidgets.EditBox, "How often will the vehicle respawn when destroyed. (seconds, 0 = no respawn)", "0 inf 1")] protected int m_iRespawnPeriod
 
int GetRespawnPeriod ()
 
void SetID (int ID)
 
int GetID ()
 
void SetIsDepleted (bool depleted)
 
bool GetIsDepleted ()
 
bool GetIsFirstSpawnDone ()
 
bool GetIsSpawnProcessed ()
 
void SetDespawnTimer (WorldTimestamp time)
 
WorldTimestamp GetDespawnTimer ()
 
void SetRespawnTimestamp (WorldTimestamp timestamp)
 
WorldTimestamp GetRespawnTimestamp ()
 
Vehicle GetSpawnedVehicle ()
 
Vehicle SpawnVehicle ()
 
void OnVehicleDestroyed (IEntity vehicle)
 
void DespawnVehicle ()
 
protected void Update (SCR_Faction faction)
 
override void OnPostInit (IEntity owner)
 Called on PostInit when all components are added. More...
 
override void EOnInit (IEntity owner)
 
void ~SCR_AmbientVehicleSpawnPointComponent ()
 

Variables

protected ref array< EEditableEntityLabelm_aIncludedEditableEntityLabels
 
protected ref array< EEditableEntityLabelm_aExcludedEditableEntityLabels
 
protected bool m_bRequireAllIncludedLabels
 
protected bool m_bDepleted
 
protected bool m_bFirstSpawnDone
 
protected bool m_bSpawnProcessed
 
protected int m_iID
 
protected WorldTimestamp m_fRespawnTimestamp
 
protected WorldTimestamp m_fDespawnTimer
 
protected ResourceName m_sPrefab
 
protected Vehicle m_Vehicle
 
protected Faction m_SavedFaction
 

Function Documentation

◆ Attribute()

SCR_AmbientVehicleSpawnPointComponentClass ScriptComponentClass Attribute ( "0"  ,
UIWidgets.  EditBox,
"How often will the vehicle respawn when destroyed. (seconds, 0 = no respawn)"  ,
"0 inf 1"   
)

◆ DespawnVehicle()

void DespawnVehicle ( )

Definition at line 212 of file SCR_AmbientVehicleSpawnPointComponent.c.

◆ GetDespawnTimer()

WorldTimestamp GetDespawnTimer ( )
Returns

Definition at line 94 of file SCR_AmbientVehicleSpawnPointComponent.c.

◆ GetID()

int GetID ( )
Returns

Definition at line 52 of file SCR_AmbientVehicleSpawnPointComponent.c.

◆ GetIsDepleted()

bool GetIsDepleted ( )
Returns

Definition at line 66 of file SCR_AmbientVehicleSpawnPointComponent.c.

◆ GetIsFirstSpawnDone()

bool GetIsFirstSpawnDone ( )
Returns

Definition at line 73 of file SCR_AmbientVehicleSpawnPointComponent.c.

◆ GetIsSpawnProcessed()

bool GetIsSpawnProcessed ( )
Returns

Definition at line 80 of file SCR_AmbientVehicleSpawnPointComponent.c.

◆ GetRespawnPeriod()

int GetRespawnPeriod ( )
Returns

Definition at line 38 of file SCR_AmbientVehicleSpawnPointComponent.c.

◆ GetRespawnTimestamp()

WorldTimestamp GetRespawnTimestamp ( )
Returns

Definition at line 108 of file SCR_AmbientVehicleSpawnPointComponent.c.

◆ GetSpawnedVehicle()

Vehicle GetSpawnedVehicle ( )
Returns

Definition at line 115 of file SCR_AmbientVehicleSpawnPointComponent.c.

◆ OnVehicleDestroyed()

void OnVehicleDestroyed ( IEntity  vehicle)
Parameters
[in]vehicle

Definition at line 197 of file SCR_AmbientVehicleSpawnPointComponent.c.

◆ SetDespawnTimer()

void SetDespawnTimer ( WorldTimestamp  time)
Parameters
[in]time

Definition at line 87 of file SCR_AmbientVehicleSpawnPointComponent.c.

◆ SetID()

void SetID ( int  ID)
Parameters
[in]ID

Definition at line 45 of file SCR_AmbientVehicleSpawnPointComponent.c.

◆ SetIsDepleted()

void SetIsDepleted ( bool  depleted)
Parameters
[in]depleted

Definition at line 59 of file SCR_AmbientVehicleSpawnPointComponent.c.

◆ SetRespawnTimestamp()

void SetRespawnTimestamp ( WorldTimestamp  timestamp)
Parameters
[in]timestamp

Definition at line 101 of file SCR_AmbientVehicleSpawnPointComponent.c.

◆ SpawnVehicle()

Vehicle SpawnVehicle ( )
Returns
the created vehicle

Definition at line 123 of file SCR_AmbientVehicleSpawnPointComponent.c.

◆ Update()

protected void Update ( SCR_Faction  faction)

Definition at line 224 of file SCR_AmbientVehicleSpawnPointComponent.c.

◆ ~SCR_AmbientVehicleSpawnPointComponent()

void ~SCR_AmbientVehicleSpawnPointComponent ( )

Definition at line 283 of file SCR_AmbientVehicleSpawnPointComponent.c.

Variable Documentation

◆ m_aExcludedEditableEntityLabels

protected ref array<EEditableEntityLabel> m_aExcludedEditableEntityLabels

Definition at line 14 of file SCR_AmbientVehicleSpawnPointComponent.c.

◆ m_aIncludedEditableEntityLabels

protected ref array<EEditableEntityLabel> m_aIncludedEditableEntityLabels
optional

Definition at line 11 of file SCR_AmbientVehicleSpawnPointComponent.c.

◆ m_bDepleted

protected bool m_bDepleted

Definition at line 21 of file SCR_AmbientVehicleSpawnPointComponent.c.

◆ m_bFirstSpawnDone

protected bool m_bFirstSpawnDone

Definition at line 22 of file SCR_AmbientVehicleSpawnPointComponent.c.

◆ m_bRequireAllIncludedLabels

protected bool m_bRequireAllIncludedLabels

Definition at line 17 of file SCR_AmbientVehicleSpawnPointComponent.c.

◆ m_bSpawnProcessed

protected bool m_bSpawnProcessed

Definition at line 23 of file SCR_AmbientVehicleSpawnPointComponent.c.

◆ m_fDespawnTimer

protected WorldTimestamp m_fDespawnTimer

Definition at line 28 of file SCR_AmbientVehicleSpawnPointComponent.c.

◆ m_fRespawnTimestamp

protected WorldTimestamp m_fRespawnTimestamp

Definition at line 27 of file SCR_AmbientVehicleSpawnPointComponent.c.

◆ m_iID

protected int m_iID

Definition at line 25 of file SCR_AmbientVehicleSpawnPointComponent.c.

◆ m_SavedFaction

protected Faction m_SavedFaction

Definition at line 34 of file SCR_AmbientVehicleSpawnPointComponent.c.

◆ m_sPrefab

protected ResourceName m_sPrefab

Definition at line 30 of file SCR_AmbientVehicleSpawnPointComponent.c.

◆ m_Vehicle

protected Vehicle m_Vehicle

Definition at line 32 of file SCR_AmbientVehicleSpawnPointComponent.c.