Arma Reforger Script API
|
Deployable spawn point with configurable conditions. More...
Public Member Functions | |
override void | Deploy (IEntity userEntity, bool reload=false) |
Check if deploy is possible, then call super.Deploy() | |
override void | Dismantle (IEntity userEntity=null, bool reload=false) |
Cache respawn count; then call super.Dismantle() | |
void | ShowInfo (notnull IEntity userEntity) |
Display amount of respawns left - called from SCR_ShowDeployableSpawnPointInfo.PerformAction. | |
void | ToggleSpawningWithLoadout (notnull IEntity userEntity) |
Toggles spawning with custom loadout. | |
bool | CanDeployBePerformed (out string reason) |
override bool | CanDeployBeShown (notnull IEntity userEntity) |
override bool | CanDismantleBeShown (notnull IEntity userEntity) |
bool | CanInfoBeShown (notnull IEntity userEntity) |
bool | CanOpenStorageBeShown (notnull IEntity userEntity) |
bool | CanToggleLoadoutSpawningBeShown (notnull IEntity userEntity) |
bool | GetAllowAllGroupsToSpawn () |
bool | GetIgnoreEnemyCharacters () |
int | GetGroupID () |
float | GetQueryRadiusCharacters () |
void | SetRespawnCount (int respawnCount) |
void | SetMaxRespawns (int maxRespawns) |
void | SetBudgetType (SCR_ESpawnPointBudgetType budgetType) |
override void | Update (float timeSlice) |
override void | EOnInit (IEntity owner) |
override void | OnDelete (IEntity owner) |
Public Member Functions inherited from SCR_BaseDeployableSpawnPointComponent | |
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) |
Protected Member Functions | |
void | RPC_AddSpawnPointGroupBroadcast (int groupID) |
void | RPC_RemoveSpawnPointGroupBroadcast (int groupID) |
void | RPC_PlaySoundOnZoneEnteredBroadcast (bool entered) |
bool | EntityQuery (notnull array< IEntity > entities, notnull Faction spawnPointFaction, vector spawnPointOrigin) |
Returns true when there are no entities in the specified area that could prevent deploying. | |
bool | CanActionBeShown (notnull IEntity userEntity, bool checkFaction, bool checkGroupID) |
bool | CanBeDeployedAtPosition (vector position, notnull IEntity userEntity, out int notification=-1) |
bool | IsDeployLimitReachedLocal () |
override SCR_DeployableSpawnPoint | CreateSpawnPoint () |
void | OnGroupChanged (int groupID) |
void | OnGroupRemoved (SCR_AIGroup group) |
void | OnSpawnPointBudgetTypeChanged (SCR_ESpawnPointBudgetType budgetType) |
void | OnSpawnPointTicketAmountChanged (int tickets) |
Protected Member Functions inherited from SCR_BaseDeployableSpawnPointComponent | |
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 () |
Static Protected Attributes | |
static ref array< int > | s_aActiveDeployedSpawnPointGroupIDs = {} |
Static Protected Attributes inherited from SCR_BaseDeployableSpawnPointComponent | |
static ref array< SCR_BaseDeployableSpawnPointComponent > | s_aActiveDeployedSpawnPoints = {} |
static ref ScriptInvokerInt | s_OnSpawnPointDismantled |
Additional Inherited Members | |
Static Public Member Functions inherited from SCR_BaseDeployableSpawnPointComponent | |
static ScriptInvokerInt | GetOnSpawnPointDismantled () |
static array< SCR_BaseDeployableSpawnPointComponent > | GetActiveDeployedSpawnPoints () |
Deployable spawn point with configurable conditions.
|
protected |
|
protected |
bool SCR_RestrictedDeployableSpawnPointComponent.CanDeployBePerformed | ( | out string | reason | ) |
[out] | reason |
override bool SCR_RestrictedDeployableSpawnPointComponent.CanDeployBeShown | ( | notnull IEntity | userEntity | ) |
override bool SCR_RestrictedDeployableSpawnPointComponent.CanDismantleBeShown | ( | notnull IEntity | userEntity | ) |
bool SCR_RestrictedDeployableSpawnPointComponent.CanInfoBeShown | ( | notnull IEntity | userEntity | ) |
[in] | userEntity |
bool SCR_RestrictedDeployableSpawnPointComponent.CanOpenStorageBeShown | ( | notnull IEntity | userEntity | ) |
[in] | userEntity |
bool SCR_RestrictedDeployableSpawnPointComponent.CanToggleLoadoutSpawningBeShown | ( | notnull IEntity | userEntity | ) |
[in] | userEntity |
|
protected |
Implements SCR_BaseDeployableSpawnPointComponent.
override void SCR_RestrictedDeployableSpawnPointComponent.Deploy | ( | IEntity | userEntity, |
bool | reload = false |
||
) |
Check if deploy is possible, then call super.Deploy()
Implements SCR_BaseDeployableSpawnPointComponent.
override void SCR_RestrictedDeployableSpawnPointComponent.Dismantle | ( | IEntity | userEntity = null , |
bool | reload = false |
||
) |
Cache respawn count; then call super.Dismantle()
Implements SCR_BaseDeployableSpawnPointComponent.
|
protected |
Returns true when there are no entities in the specified area that could prevent deploying.
override void SCR_RestrictedDeployableSpawnPointComponent.EOnInit | ( | IEntity | owner | ) |
Implements SCR_BaseDeployableSpawnPointComponent.
bool SCR_RestrictedDeployableSpawnPointComponent.GetAllowAllGroupsToSpawn | ( | ) |
int SCR_RestrictedDeployableSpawnPointComponent.GetGroupID | ( | ) |
bool SCR_RestrictedDeployableSpawnPointComponent.GetIgnoreEnemyCharacters | ( | ) |
float SCR_RestrictedDeployableSpawnPointComponent.GetQueryRadiusCharacters | ( | ) |
|
protected |
override void SCR_RestrictedDeployableSpawnPointComponent.OnDelete | ( | IEntity | owner | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
void SCR_RestrictedDeployableSpawnPointComponent.SetBudgetType | ( | SCR_ESpawnPointBudgetType | budgetType | ) |
[in] | budgetType |
void SCR_RestrictedDeployableSpawnPointComponent.SetMaxRespawns | ( | int | maxRespawns | ) |
[in] | maxRespawns |
void SCR_RestrictedDeployableSpawnPointComponent.SetRespawnCount | ( | int | respawnCount | ) |
[in] | respawnCount |
void SCR_RestrictedDeployableSpawnPointComponent.ShowInfo | ( | notnull IEntity | userEntity | ) |
Display amount of respawns left - called from SCR_ShowDeployableSpawnPointInfo.PerformAction.
void SCR_RestrictedDeployableSpawnPointComponent.ToggleSpawningWithLoadout | ( | notnull IEntity | userEntity | ) |
Toggles spawning with custom loadout.
override void SCR_RestrictedDeployableSpawnPointComponent.Update | ( | float | timeSlice | ) |
[in] | timeSlice |
Implements SCR_BaseDeployableSpawnPointComponent.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |