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

Go to the source code of this file.

Classes

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 SetIsDepleted (bool depleted)
bool GetIsDepleted ()
bool GetIsFirstSpawnDone ()
bool GetIsSpawnProcessed ()
bool IsDespawnAllowed ()
void SetAllowDespawn (bool allow)
void SetDespawnTimestamp (WorldTimestamp time)
WorldTimestamp GetDespawnTimestamp ()
void SetRespawnTimestamp (WorldTimestamp timestamp)
WorldTimestamp GetRespawnTimestamp ()
Vehicle GetSpawnedVehicle ()
void SetSpawnedVehicle (Vehicle vehicle)
Vehicle SpawnVehicle ()
void OnVehicleDestroyed (IEntity vehicle)
void AddInteractionHandlers (notnull IEntity vehicle)
void RemoveInteractionHandlers (notnull IEntity vehicle)
void DespawnVehicle ()
void OnFuelChanged (float newFuel)
void OnDamageChanged (SCR_HitZone hitZone)
void Update (SCR_Faction faction)
override void OnPostInit (IEntity owner)
 Editable Mine.
override void OnDelete (IEntity owner)

Variables

bool m_bStopDespawnOnInteraction
ref array< EEditableEntityLabelm_aIncludedEditableEntityLabels
ref array< EEditableEntityLabelm_aExcludedEditableEntityLabels
bool m_bRequireAllIncludedLabels
bool m_bDepleted
bool m_bFirstSpawnDone
bool m_bSpawnProcessed
bool m_bAllowDespawn = true
float m_fSpawnTimestamp
WorldTimestamp m_fRespawnTimestamp
WorldTimestamp m_fDespawnTimestamp
ResourceName m_sPrefab
Vehicle m_Vehicle
Faction m_SavedFaction

Function Documentation

◆ AddInteractionHandlers()

void AddInteractionHandlers ( notnull IEntity vehicle)
protected

Definition at line 220 of file SCR_AmbientVehicleSpawnPointComponent.c.

◆ 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 ( )
protected

Definition at line 275 of file SCR_AmbientVehicleSpawnPointComponent.c.

◆ GetDespawnTimestamp()

WorldTimestamp GetDespawnTimestamp ( )
protected
Returns

Definition at line 97 of file SCR_AmbientVehicleSpawnPointComponent.c.

◆ GetIsDepleted()

bool GetIsDepleted ( )
protected
Returns

Definition at line 57 of file SCR_AmbientVehicleSpawnPointComponent.c.

◆ GetIsFirstSpawnDone()

bool GetIsFirstSpawnDone ( )
protected
Returns

Definition at line 64 of file SCR_AmbientVehicleSpawnPointComponent.c.

◆ GetIsSpawnProcessed()

bool GetIsSpawnProcessed ( )
protected
Returns

Definition at line 71 of file SCR_AmbientVehicleSpawnPointComponent.c.

◆ GetRespawnPeriod()

int GetRespawnPeriod ( )
protected
Returns

Definition at line 43 of file SCR_AmbientVehicleSpawnPointComponent.c.

◆ GetRespawnTimestamp()

WorldTimestamp GetRespawnTimestamp ( )
protected
Returns

Definition at line 111 of file SCR_AmbientVehicleSpawnPointComponent.c.

◆ GetSpawnedVehicle()

Vehicle GetSpawnedVehicle ( )
protected
Returns

Definition at line 118 of file SCR_AmbientVehicleSpawnPointComponent.c.

◆ IsDespawnAllowed()

bool IsDespawnAllowed ( )
protected

Definition at line 77 of file SCR_AmbientVehicleSpawnPointComponent.c.

◆ OnDamageChanged()

void OnDamageChanged ( SCR_HitZone hitZone)
protected

Definition at line 296 of file SCR_AmbientVehicleSpawnPointComponent.c.

◆ OnDelete()

override void OnDelete ( IEntity owner)
protected

Definition at line 357 of file SCR_AmbientVehicleSpawnPointComponent.c.

◆ OnFuelChanged()

void OnFuelChanged ( float newFuel)
protected

Definition at line 283 of file SCR_AmbientVehicleSpawnPointComponent.c.

◆ OnVehicleDestroyed()

void OnVehicleDestroyed ( IEntity vehicle)
protected
Parameters
[in]vehicle

Definition at line 205 of file SCR_AmbientVehicleSpawnPointComponent.c.

◆ RemoveInteractionHandlers()

void RemoveInteractionHandlers ( notnull IEntity vehicle)
protected

Definition at line 248 of file SCR_AmbientVehicleSpawnPointComponent.c.

◆ SetAllowDespawn()

void SetAllowDespawn ( bool allow)
protected

Definition at line 83 of file SCR_AmbientVehicleSpawnPointComponent.c.

◆ SetDespawnTimestamp()

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

Definition at line 90 of file SCR_AmbientVehicleSpawnPointComponent.c.

◆ SetIsDepleted()

void SetIsDepleted ( bool depleted)
protected
Parameters
[in]depleted

Definition at line 50 of file SCR_AmbientVehicleSpawnPointComponent.c.

◆ SetRespawnTimestamp()

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

Definition at line 104 of file SCR_AmbientVehicleSpawnPointComponent.c.

◆ SetSpawnedVehicle()

void SetSpawnedVehicle ( Vehicle vehicle)
protected

Definition at line 124 of file SCR_AmbientVehicleSpawnPointComponent.c.

◆ SpawnVehicle()

Vehicle SpawnVehicle ( )
protected
Returns
the created vehicle

Definition at line 134 of file SCR_AmbientVehicleSpawnPointComponent.c.

◆ Update()

void Update ( SCR_Faction faction)
protected

Definition at line 309 of file SCR_AmbientVehicleSpawnPointComponent.c.

Variable Documentation

◆ m_aExcludedEditableEntityLabels

ref array<EEditableEntityLabel> m_aExcludedEditableEntityLabels
protected

Definition at line 17 of file SCR_AmbientVehicleSpawnPointComponent.c.

◆ m_aIncludedEditableEntityLabels

ref array<EEditableEntityLabel> m_aIncludedEditableEntityLabels
optionalprotected

Definition at line 14 of file SCR_AmbientVehicleSpawnPointComponent.c.

◆ m_bAllowDespawn

bool m_bAllowDespawn = true
protected

Definition at line 28 of file SCR_AmbientVehicleSpawnPointComponent.c.

◆ m_bDepleted

bool m_bDepleted
protected

Definition at line 25 of file SCR_AmbientVehicleSpawnPointComponent.c.

◆ m_bFirstSpawnDone

bool m_bFirstSpawnDone
protected

Definition at line 26 of file SCR_AmbientVehicleSpawnPointComponent.c.

◆ m_bRequireAllIncludedLabels

bool m_bRequireAllIncludedLabels
protected

Definition at line 20 of file SCR_AmbientVehicleSpawnPointComponent.c.

◆ m_bSpawnProcessed

bool m_bSpawnProcessed
protected

Definition at line 27 of file SCR_AmbientVehicleSpawnPointComponent.c.

◆ m_bStopDespawnOnInteraction

bool m_bStopDespawnOnInteraction
protected

Definition at line 11 of file SCR_AmbientVehicleSpawnPointComponent.c.

◆ m_fDespawnTimestamp

WorldTimestamp m_fDespawnTimestamp
protected

Definition at line 33 of file SCR_AmbientVehicleSpawnPointComponent.c.

◆ m_fRespawnTimestamp

WorldTimestamp m_fRespawnTimestamp
protected

Definition at line 32 of file SCR_AmbientVehicleSpawnPointComponent.c.

◆ m_fSpawnTimestamp

float m_fSpawnTimestamp
protected

Definition at line 30 of file SCR_AmbientVehicleSpawnPointComponent.c.

◆ m_SavedFaction

Faction m_SavedFaction
protected

Definition at line 39 of file SCR_AmbientVehicleSpawnPointComponent.c.

◆ m_sPrefab

ResourceName m_sPrefab
protected

Definition at line 35 of file SCR_AmbientVehicleSpawnPointComponent.c.

◆ m_Vehicle

Vehicle m_Vehicle
protected

Definition at line 37 of file SCR_AmbientVehicleSpawnPointComponent.c.