|
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() | |
| void | DeployByGroup (notnull SCR_AIGroup group, IEntity userEntity=null, bool reload=false) |
| 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 (IEntity userEntity=null) |
| Toggles spawning with custom loadout. | |
| void | SetSpawningWithLoadout (bool allow, IEntity userEntity=null) |
| bool | IsCustomLoadoutsAllowed () |
| 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) |
| int | GetRespawnCount () |
| int | GetMaxRespawns () |
| void | SetMaxRespawns (int maxRespawns) |
| void | SetBudgetType (SCR_ESpawnPointBudgetType budgetType) |
| SCR_ESpawnPointBudgetType | GetBudgetType () |
| void | SetSuppliesValue (float value, bool refreshDeployedContainer=true) |
| float | GetSuppliesValue (bool refreshFromDeployedContainer=true) |
| override void | Update (float timeSlice) |
| override void | EOnInit (IEntity owner) |
| override void | OnDelete (IEntity owner) |
Public Member Functions inherited from SCR_BaseDeployableSpawnPointComponent | |
| SCR_SpawnPoint | GetSpawnPoint () |
| void | ~SCR_BaseDeployableSpawnPointComponent () |
Public Member Functions inherited from SCR_BaseDeployableInventoryItemComponent | |
| void | SetDeploying (bool isDeploying) |
| bool | IsDeploying () |
| SCR_DeployableItemState | GetOnDeployedStateChanged () |
| void | OnCompositionDestroyed (IEntity instigator) |
| Callback method that is triggered when composition is destroyed. | |
| void | SetItemOwner (int playerId) |
| void | Reload () |
| Dismantle and redeploy to update settings. | |
| 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) |
| void | GenerateRespawns (int amount) |
| Regenerates respawns for players /param[in] amount. | |
Protected Member Functions inherited from SCR_BaseDeployableSpawnPointComponent | |
| override void | OnRplDeployed () |
| void | ToggleRadioChatter (bool enable) |
| 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) |
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.
| void SCR_RestrictedDeployableSpawnPointComponent.DeployByGroup | ( | notnull SCR_AIGroup | group, |
| IEntity | userEntity = null, | ||
| bool | reload = false ) |
| 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.
|
protected |
Regenerates respawns for players /param[in] amount.
| bool SCR_RestrictedDeployableSpawnPointComponent.GetAllowAllGroupsToSpawn | ( | ) |
| SCR_ESpawnPointBudgetType SCR_RestrictedDeployableSpawnPointComponent.GetBudgetType | ( | ) |
| int SCR_RestrictedDeployableSpawnPointComponent.GetGroupID | ( | ) |
| bool SCR_RestrictedDeployableSpawnPointComponent.GetIgnoreEnemyCharacters | ( | ) |
| int SCR_RestrictedDeployableSpawnPointComponent.GetMaxRespawns | ( | ) |
| float SCR_RestrictedDeployableSpawnPointComponent.GetQueryRadiusCharacters | ( | ) |
| int SCR_RestrictedDeployableSpawnPointComponent.GetRespawnCount | ( | ) |
| float SCR_RestrictedDeployableSpawnPointComponent.GetSuppliesValue | ( | bool | refreshFromDeployedContainer = true | ) |
| bool SCR_RestrictedDeployableSpawnPointComponent.IsCustomLoadoutsAllowed | ( | ) |
|
protected |
| override void SCR_RestrictedDeployableSpawnPointComponent.OnDelete | ( | IEntity | owner | ) |
Implements SCR_BaseDeployableSpawnPointComponent.
|
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.SetSpawningWithLoadout | ( | bool | allow, |
| IEntity | userEntity = null ) |
| void SCR_RestrictedDeployableSpawnPointComponent.SetSuppliesValue | ( | float | value, |
| bool | refreshDeployedContainer = true ) |
| void SCR_RestrictedDeployableSpawnPointComponent.ShowInfo | ( | notnull IEntity | userEntity | ) |
Display amount of respawns left - called from SCR_ShowDeployableSpawnPointInfo.PerformAction.
| void SCR_RestrictedDeployableSpawnPointComponent.ToggleSpawningWithLoadout | ( | IEntity | userEntity = null | ) |
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 |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |