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

Go to the source code of this file.

Data Structures

class  SCR_BaseDeployableSpawnPointComponentClass
 

Functions

protected void RPC_SetTransformBroadcast (vector transform[4])
 
protected void RPC_PlaySoundOnDeployBroadcast (bool deploy)
 
protected void ToggleRadioChatter (bool enable)
 
protected void OnCompositionDestroyed (IEntity instigator)
 
protected override void OnRplDeployed ()
 
override void Deploy (IEntity userEntity=null)
 
override void Dismantle (IEntity userEntity=null)
 
SCR_SpawnPoint GetSpawnPoint ()
 
void Update (float timeSlice)
 
protected void ConnectToDeployableSpawnPointSystem ()
 
protected void DisconnectFromDeployableSpawnPointSystem ()
 
override void EOnInit (IEntity owner)
 
void ~SCR_BaseDeployableSpawnPointComponent ()
 

Variables

SCR_BaseDeployableSpawnPointComponentClass s_aActiveDeployedSpawnPoints = {}
 Base class which all deployable spawn points / radios inherit from. More...
 
protected ResourceName m_sSpawnPointPrefab
 
protected ResourceName m_sReplacementPrefab
 
protected FactionKey m_FactionKey
 
protected bool m_bEnableSounds
 
protected SCR_DeployableSpawnPoint m_SpawnPoint
 
protected IEntity m_ReplacementEntity
 
protected vector m_aOriginalTransform [4]
 

Function Documentation

◆ ConnectToDeployableSpawnPointSystem()

protected void ConnectToDeployableSpawnPointSystem ( )

Definition at line 261 of file SCR_BaseDeployableSpawnPointComponent.c.

◆ Deploy()

override void Deploy ( IEntity  userEntity = null)

Spawns replacement composition and attaches owner entity to it - called from SCR_DeployItemBaseAction.PerformAction

Parameters
[in]userEntity

Definition at line 94 of file SCR_BaseDeployableSpawnPointComponent.c.

◆ DisconnectFromDeployableSpawnPointSystem()

protected void DisconnectFromDeployableSpawnPointSystem ( )

Definition at line 272 of file SCR_BaseDeployableSpawnPointComponent.c.

◆ Dismantle()

override void Dismantle ( IEntity  userEntity = null)

Delete replacement composition and spawnpoint and set position of owner entity to it's original position - called from SCR_DismantleItemBaseAction.PerformAction

Parameters
[in]userEntity

Definition at line 176 of file SCR_BaseDeployableSpawnPointComponent.c.

◆ GetSpawnPoint()

SCR_SpawnPoint GetSpawnPoint ( )
Returns

Definition at line 250 of file SCR_BaseDeployableSpawnPointComponent.c.

◆ OnCompositionDestroyed()

protected void OnCompositionDestroyed ( IEntity  instigator)

Definition at line 79 of file SCR_BaseDeployableSpawnPointComponent.c.

◆ OnRplDeployed()

protected override void OnRplDeployed ( )

Definition at line 85 of file SCR_BaseDeployableSpawnPointComponent.c.

◆ RPC_PlaySoundOnDeployBroadcast()

protected void RPC_PlaySoundOnDeployBroadcast ( bool  deploy)

Definition at line 51 of file SCR_BaseDeployableSpawnPointComponent.c.

◆ RPC_SetTransformBroadcast()

protected void RPC_SetTransformBroadcast ( vector  transform[4])

Definition at line 44 of file SCR_BaseDeployableSpawnPointComponent.c.

◆ ToggleRadioChatter()

protected void ToggleRadioChatter ( bool  enable)

Definition at line 64 of file SCR_BaseDeployableSpawnPointComponent.c.

◆ Update()

void Update ( float  timeSlice)
Parameters
[in]timeSlice

Definition at line 28 of file SCR_CampaignBuildingGadgetToolComponent.c.

◆ ~SCR_BaseDeployableSpawnPointComponent()

void ~SCR_BaseDeployableSpawnPointComponent ( )

Definition at line 304 of file SCR_BaseDeployableSpawnPointComponent.c.

Variable Documentation

◆ m_aOriginalTransform

protected vector m_aOriginalTransform[4]

Definition at line 29 of file SCR_BaseDeployableSpawnPointComponent.c.

◆ m_bEnableSounds

protected bool m_bEnableSounds

Definition at line 23 of file SCR_BaseDeployableSpawnPointComponent.c.

◆ m_FactionKey

protected FactionKey m_FactionKey

Definition at line 20 of file SCR_BaseDeployableSpawnPointComponent.c.

◆ m_ReplacementEntity

protected IEntity m_ReplacementEntity

Definition at line 27 of file SCR_BaseDeployableSpawnPointComponent.c.

◆ m_SpawnPoint

protected SCR_DeployableSpawnPoint m_SpawnPoint

Definition at line 25 of file SCR_BaseDeployableSpawnPointComponent.c.

◆ m_sReplacementPrefab

protected ResourceName m_sReplacementPrefab

Definition at line 17 of file SCR_BaseDeployableSpawnPointComponent.c.

◆ m_sSpawnPointPrefab

protected ResourceName m_sSpawnPointPrefab

Definition at line 14 of file SCR_BaseDeployableSpawnPointComponent.c.

◆ s_aActiveDeployedSpawnPoints

SCR_BaseDeployableSpawnPointComponentClass s_aActiveDeployedSpawnPoints = {}

Base class which all deployable spawn points / radios inherit from.