Arma Reforger Script API
|
Base class which all deployable spawn points / radios inherit from. More...
Public Member Functions | |
override void | Deploy (IEntity userEntity=null, bool reload=false) |
Spawns replacement composition and attaches owner entity to it - called from SCR_DeployItemBaseAction.PerformAction. | |
override void | Dismantle (IEntity userEntity=null, bool reload=false) |
Delete replacement composition and spawnpoint and set position of owner entity to it's original position - called from SCR_DismantleItemBaseAction.PerformAction. | |
SCR_SpawnPoint | GetSpawnPoint () |
void | Update (float timeSlice) |
override void | EOnInit (IEntity owner) |
void | ~SCR_BaseDeployableSpawnPointComponent () |
Public Member Functions inherited from SCR_BaseDeployableInventoryItemComponent | |
void | SetDeploying (bool isDeploying) |
bool | IsDeploying () |
ScriptInvokerBool | GetOnDeployedStateChanged () |
void | OnCompositionDestroyed (IEntity instigator) |
Callback method that is triggered when composition is destroyed. | |
void | Deploy (IEntity userEntity=null, bool reload=false) |
Gets called when deploy action is executed by player. | |
void | Dismantle (IEntity userEntity=null, bool reload=false) |
Gets called when dismantle action is executed by player. | |
void | Reload () |
Dismantle and redeploy to update settings. | |
bool | CanDeployBeShown (notnull IEntity userEntity) |
bool | CanDismantleBeShown (notnull IEntity userEntity) |
bool | IsDeployed () |
int | GetItemOwnerID () |
override void | OnPostInit (IEntity owner) |
Static Public Member Functions | |
static ScriptInvokerInt | GetOnSpawnPointDismantled () |
static array< SCR_BaseDeployableSpawnPointComponent > | GetActiveDeployedSpawnPoints () |
Protected Member Functions | |
override void | OnRplDeployed () |
void | ToggleRadioChatter (bool enable) |
SCR_DeployableSpawnPoint | CreateSpawnPoint () |
void | OnSpawnPointDeployingEnabledChanged (bool enabled) |
void | ConnectToDeployableSpawnPointSystem () |
void | DisconnectFromDeployableSpawnPointSystem () |
Protected Member Functions inherited from SCR_BaseDeployableInventoryItemComponent | |
void | RPC_SetTransformBroadcast (vector transform[4]) |
void | RPC_PlaySoundOnDeployBroadcast (bool deploy) |
void | OnRplDeployed () |
Protected Attributes | |
ResourceName | m_sSpawnPointPrefab |
FactionKey | m_FactionKey |
SCR_DeployableSpawnPoint | m_SpawnPoint |
bool | m_bDeployableSpawnPointsEnabled |
Protected Attributes inherited from SCR_BaseDeployableInventoryItemComponent | |
bool | m_bEnableSounds |
bool | m_bIsDeployed |
IEntity | m_ReplacementEntity |
vector | m_aOriginalTransform [4] |
RplComponent | m_RplComponent |
bool | m_bIsDeploying |
int | m_iItemOwnerID = -1 |
ref ScriptInvokerBool | m_OnDeployedStateChanged |
bool | m_bWasDeployed |
IEntity | m_PreviousOwner |
Static Protected Attributes | |
static ref array< SCR_BaseDeployableSpawnPointComponent > | s_aActiveDeployedSpawnPoints = {} |
static ref ScriptInvokerInt | s_OnSpawnPointDismantled |
Base class which all deployable spawn points / radios inherit from.
void SCR_BaseDeployableSpawnPointComponent.~SCR_BaseDeployableSpawnPointComponent | ( | ) |
|
protected |
|
protected |
Implemented in SCR_RestrictedDeployableSpawnPointComponent.
override void SCR_BaseDeployableSpawnPointComponent.Deploy | ( | IEntity | userEntity = null , |
bool | reload = false |
||
) |
Spawns replacement composition and attaches owner entity to it - called from SCR_DeployItemBaseAction.PerformAction.
[in] | userEntity |
Implements SCR_BaseDeployableInventoryItemComponent.
Implemented in SCR_RestrictedDeployableSpawnPointComponent.
|
protected |
override void SCR_BaseDeployableSpawnPointComponent.Dismantle | ( | IEntity | userEntity = null , |
bool | reload = false |
||
) |
Delete replacement composition and spawnpoint and set position of owner entity to it's original position - called from SCR_DismantleItemBaseAction.PerformAction.
[in] | userEntity |
Implements SCR_BaseDeployableInventoryItemComponent.
Implemented in SCR_RestrictedDeployableSpawnPointComponent.
override void SCR_BaseDeployableSpawnPointComponent.EOnInit | ( | IEntity | owner | ) |
Implemented in SCR_RestrictedDeployableSpawnPointComponent.
|
static |
|
static |
SCR_SpawnPoint SCR_BaseDeployableSpawnPointComponent.GetSpawnPoint | ( | ) |
|
protected |
Implements SCR_BaseDeployableInventoryItemComponent.
|
protected |
|
protected |
void SCR_BaseDeployableSpawnPointComponent.Update | ( | float | timeSlice | ) |
[in] | timeSlice |
Implemented in SCR_RestrictedDeployableSpawnPointComponent.
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
staticprotected |