|
Arma Reforger Script API
|
Public Member Functions | |
| ScriptInvokerVoid | GetOnSuppliesArrivalInvoker () |
| OnSupplyLimitChangedInvoker | GetOnSupplyLimitChanged () |
| ScriptInvokerInt | GetOnSupplyRequestExecutionPriorityChanged () |
| ScriptInvokerFloat | GetOnReservedSupplyAmountChanged () |
| IEntity | GetBaseBuildingComposition () |
| void | SetBaseBuildingComposition (IEntity building) |
| bool | IsResupplyTaskCreationEnabled () |
| bool | IsResupplyNeeded () |
| float | GetScarcityLevel () |
| float | GetSupplyLimit () |
| void | SetSupplyLimit (float value) |
| float | GetReservedSupplyAmount () |
| void | SetReservedSupplyAmount (float value) |
| float | GetSuppliesArrivalTime () |
| SCR_ESupplyRequestExecutionPriority | GetSupplyRequestExecutionPriority () |
| void | SetSupplyRequestExecutionPriority (SCR_ESupplyRequestExecutionPriority priority) |
| SCR_ResourceConsumer | GetResourceConsumer () |
| string | GetFormattedBaseNameWithCallsign (Faction faction) |
| bool | IsValidTarget (notnull SCR_CampaignFaction faction) |
| void | SetBuiltByPlayers (bool builtByPlayers) |
| bool | GetBuiltByPlayers () |
| void | SetBuiltFaction (notnull Faction faction) |
| FactionKey | GetBuiltFaction () |
| bool | IsControlPoint () |
| bool | CanBeHQ () |
| bool | DisableWhenUnusedAsHQ () |
| WorldTimestamp | GetRespawnTimestamp () |
| void | Initialize () |
| void | Disable () |
| void | OnInitialized () |
| void | ApplyHeaderSettings (notnull SCR_CampaignCustomBase settings) |
| override void | OnServiceStateChanged (SCR_EServicePointStatus state, notnull SCR_ServicePointComponent serviceComponent) |
| Called every time the status of the registered service has changed. | |
| void | OnServiceBuilt (notnull SCR_ServicePointComponent service) |
| void | OnServiceRemoved (notnull SCR_MilitaryBaseLogicComponent service) |
| void | OnServiceBuilt_AfterInit (SCR_ServicePointComponent service) |
| void | OnDisabled () |
| bool | IsInitialized () |
| void | SetAsHQ (bool isHQ) |
| bool | IsHQ () |
| bool | CostSuppliesToSpawn () |
| OnSpawnPointAssignedInvoker | GetOnSpawnPointAssigned () |
| float | GetRadioRange () |
| bool | CanReachByRadio (notnull IEntity entity) |
| SCR_ERadioCoverageStatus | GetHQRadioCoverage (notnull SCR_CampaignFaction faction) |
| bool | IsHQRadioTrafficPossible (notnull SCR_CampaignFaction faction, SCR_ERadioCoverageStatus direction=SCR_ERadioCoverageStatus.RECEIVE) |
| float | GetBaseSpawnCostFactor () |
| void | NotifyAboutEnemyAttack (notnull Faction attackingFaction) |
| void | EndCapture () |
| Capturing has been terminated. | |
| int | GetReconfiguredByID () |
| bool | GetDisableWhenUnusedAsHQ () |
| bool | BeginCapture (SCR_CampaignFaction faction, int playerID=INVALID_PLAYER_INDEX) |
| Capturing has begun. | |
| SCR_SpawnPoint | GetSpawnPoint () |
| override void | OnCapturingFactionChanged () |
| Event which is triggered when the capturing faction changes. | |
| void | FlashBaseIcon (float remainingTime=0, Faction faction=null, bool changeToDefault=false, bool infiniteTimer=false) |
| void | OnHasSignalChanged () |
| void | OnSpawnPointFactionAssigned (FactionKey faction) |
| void | ChangeRadioSettings (notnull SCR_Faction faction) |
| void | RefreshSeizingTimers () |
| void | RegisterRemnants (notnull SCR_AmbientPatrolSpawnPointComponent remnants) |
| ResourceName | GetBuildingIconImageset () |
| void | SetDefendersGroup (SCR_AIGroup grp) |
| void | RemoveGroup (SCR_AIGroup grp) |
| bool | ContainsGroup (SCR_AIGroup grp) |
| override void | SetCallsign (notnull SCR_Faction faction) |
| override void | SetCallsignIndexAutomatic (int index) |
| void | CalculateSupplyRegenerationAmount (float currentSupplies, float maxSupplies, notnull SCR_CampaignFaction faction) |
| Calculates the supply regeneration amount based on input parameters. | |
| SCR_CampaignMilitaryBaseMapDescriptorComponent | GetMapDescriptor () |
| SCR_CampaignMapUIBase | GetMapUI () |
| bool | GetIsEntityInMyRange (notnull IEntity entity) |
| float | GetSupplies () |
| float | GetSuppliesMax () |
| int | GetSuppliesIncome () |
| override void | RegisterLogicComponent (notnull SCR_MilitaryBaseLogicComponent component) |
| void | HideMapLocationLabel () |
| SCR_ResourceComponent | GetResourceComponent () |
| return ResourceComponent of base | |
| void | AddSupplies (int suppliesCount, bool replicate=true) |
| Add delivered supplies. | |
| void | SetSupplies (float suppliesCount) |
| void | SetInitialSupplies (float suppliesCount) |
| void | SetStartingSupplies (float suppliesCount) |
| void | AlterSupplyIncomeTimer (float time) |
| Change reinforcements timer. | |
| void | SetSuppliesArrivalTime (float time) |
| void | SetFaction (SCR_CampaignFaction faction) |
| SCR_CampaignFaction | GetCampaignFaction () |
| Returns the owning faction. | |
| SCR_ECampaignBaseType | GetType () |
| Returns type of this base. | |
| string | GetBaseName () |
| Returns the name of this base. | |
| string | GetBaseNameUpperCase () |
| Returns the upper-case name of this base. | |
| bool | IsBeingCaptured () |
| Returns whether this base is being captured. | |
| void | SetAttackingFaction (int enemyFaction) |
| void | OnAttackingFactionChanged () |
| void | OnRespawnCooldownChanged () |
| void | UpdateRespawnCooldown () |
| void | OnAllBasesInitialized () |
| void | RecalculateRadioRange () |
| void | OnRadioRangeChanged () |
| void | SetBaseUI (SCR_CampaignMapUIBase base) |
| Called from SCR_MapCampaignUI when base UI elements are initialized. | |
| void | SendHQMessageBaseCaptured () |
| void | SpawnBuilding (ResourceName prefab, vector position, vector rotation, bool isMainTent=false) |
| void | EvaluateDefenders () |
| Periodically add XP to players defending their base. | |
| void | Update (float timeSlice) |
| override void | EOnInit (IEntity owner) |
| override void | OnPostInit (IEntity owner) |
| override void | OnDelete (IEntity owner) |
| bool | IsValidForSeizeTask () |
| Checks if this base is eligible for a Seize task. | |
Public Member Functions inherited from SCR_MilitaryBaseComponent | |
| ScriptInvoker | GetOnMilitaryBaseRegistered () |
| ScriptInvoker | GetOnMilitaryBaseUnregistered () |
| void | AllowNotifications (bool allow) |
| Show default notifications upon base capture (setter) | |
| bool | NotificationsAllowed () |
| Show default notifications upon base capture (getter) | |
| void | SetCallsignIndex (int index) |
| ScriptInvoker | GetOnRadiusChanged () |
| ScriptInvoker | GetOnServiceRegistered () |
| ScriptInvokerServiceUnregistered | GetOnServiceUnregistered () |
| int | GetCallsign () |
| int | GetCallsignSignal () |
| void | OnCallsignAssigned () |
| LocalizedString | GetCallsignDisplayNameOnly () |
| LocalizedString | GetCallsignDisplayName () |
| LocalizedString | GetCallsignDisplayNameOnlyUC () |
| LocalizedString | GetCallsignDisplayNameUpperCase () |
| int | GetServices (out array< SCR_ServicePointComponent > services=null) |
| Get all registered systems inherited from SCR_ServicePointComponent. | |
| int | GetServicesByType (out array< SCR_ServicePointComponent > services, SCR_EServicePointType type) |
| SCR_ServicePointComponent | GetServiceByLabel (EEditableEntityLabel label) |
| SCR_ServicePointComponent | GetServiceByType (SCR_EServicePointType type) |
| int | GetServiceDelegates (out array< SCR_ServicePointDelegateComponent > delegates=null) |
| int | GetServiceDelegatesByType (out array< SCR_ServicePointDelegateComponent > delegates, SCR_EServicePointType type) |
| SCR_ServicePointDelegateComponent | GetServiceDelegateByLabel (EEditableEntityLabel label) |
| SCR_ServicePointDelegateComponent | GetServiceDelegateByType (SCR_EServicePointType type) |
| int | GetBuildingProviders (out array< SCR_CampaignBuildingProviderComponent > providers) |
| Get all registered systems inherited from SCR_CampaignBuildingProviderComponent. | |
| int | GetCapturePoints (out array< SCR_SeizingComponent > capturePoints) |
| Get all registered systems inherited from SCR_SeizingComponent. | |
| int | GetFlags (out array< SCR_FlagComponent > flags) |
| Get all registered systems inherited from SCR_FlagComponent. | |
| void | SetRadius (int radius) |
| int | GetRadius () |
| void | SetFaction (Faction faction) |
| void | SetFaction (FactionKey faction) |
| Faction | GetFaction (bool checkDefaultFaction=false) |
| Faction | GetCapturingFaction () |
| void | RegisterServiceDelegate (notnull SCR_ServicePointDelegateComponent delegate) |
| void | UnregisterServiceDelegate (notnull SCR_ServicePointDelegateComponent delegate) |
| void | UnregisterLogicComponent (notnull SCR_MilitaryBaseLogicComponent component) |
| void | OnPointCaptured (notnull SCR_Faction faction, notnull SCR_SeizingComponent point) |
| Triggered when a registered SCR_SeizingComponent gets captured. | |
| void | OnPointContested (notnull SCR_Faction faction, notnull SCR_SeizingComponent point) |
| Triggered when a registered SCR_SeizingComponent starts getting captured. | |
| void | OnPointSecured (notnull SCR_Faction faction, notnull SCR_SeizingComponent point) |
| Triggered when a registered SCR_SeizingComponent stops getting captured. | |
| void | OnRequiredPointsCaptured (notnull SCR_Faction faction) |
| Triggered when a the required amount of SCR_SeizingComponents to seize the base is captured. | |
| bool | GetIsEntityPresent (notnull IEntity entity) |
| void | ~SCR_MilitaryBaseComponent () |
Static Public Member Functions | |
| static OnBaseStateChangedInvoker | GetOnBaseUnderAttack () |
| static OnBaseStateChangedInvoker | GetOnFactionChangedExtended () |
| static OnBaseAttackEndInvoker | GetOnBaseAttackEnd () |
Static Public Attributes | |
| static const float | RADIO_RECONFIGURATION_DURATION = 10.0 |
| static const float | BARRACKS_REDUCED_DEPLOY_COST = 0.5 |
| static const int | UNDER_ATTACK_WARNING_PERIOD = 60 |
| static const int | INVALID_PLAYER_INDEX = -1 |
| static const int | INVALID_FACTION_INDEX = -1 |
| static const int | RESPAWN_DELAY_AFTER_CAPTURE = 180000 |
| static const int | RELAY_BASE_RADIUS = 100 |
| static const int | SUPPLY_DEPOT_CAPACITY = 4500 |
| static const int | DEFENDERS_CHECK_PERIOD = 30000 |
| static const int | DEFENDERS_REWARD_PERIOD = 120000 |
| static const int | DEFENDERS_REWARD_MULTIPLIER = 3 |
| static const float | SUPPLY_LIMIT_MIN = 0 |
| static const float | SUPPLY_LIMIT_MAX = 0.9 |
Static Public Attributes inherited from SCR_MilitaryBaseComponent | |
| static const int | INVALID_BASE_CALLSIGN = -1 |
Protected Member Functions | |
| void | SupplyRequestExecutionPriorityReplicated () |
| int | GetSuppliesIncomeAmount () |
| int | GetSuppliesArrivalTimer () |
| void | SetProviderEntity (notnull SCR_ServicePointComponent service) |
| void | SendHighestPriorityMessage (notnull SCR_CampaignFaction faction) |
| void | OnHQSet () |
| float | GetRelayRadioRange (notnull BaseRadioComponent radio) |
| void | OnLocalPlayerFactionAssigned (Faction assignedFaction) |
| void | OnCaptureStart (SCR_Faction faction) |
| void | HandleSpawnPointFaction () |
| Changes the faction which can spawn on spawn point groups owned by this base. | |
| void | OnSuppliesChanged () |
| override void | OnFactionChanged (FactionAffiliationComponent owner, Faction previousFaction, Faction faction) |
| Event which is triggered when the owning faction changes. | |
| void | SupplyIncomeTimer (bool reset=false) |
| Handles the timer for reinforcements arrival at this base. | |
| void | AddRegularSupplyPackage (notnull SCR_CampaignFaction faction) |
| Reinforcements timer has finished, send in reinforcements. | |
| void | SpawnStartingVehicles () |
| void | DeleteStartingVehicles () |
| void | RemoveFortifications () |
| void | ConnectToCampaignBasesSystem () |
| void | DisconnectFromCampaignBasesSystem () |
Protected Member Functions inherited from SCR_MilitaryBaseComponent | |
| bool | IsProxy () |
| void | OnPlayerFactionChanged (SCR_PlayerFactionAffiliationComponent component, Faction previous, Faction current) |
| void | OnRadiusChanged () |
| void | UpdateFlags () |
| void | ChangeFlags (notnull Faction faction) |
| bool | GetIsLocalPlayerPresent () |
| void | NotifyPlayerInRadius (notnull Faction faction) |
Static Protected Attributes | |
| static const int | TICK_TIME = 1 |
| static const int | CONTESTED_RESPAWN_DELAY = 35 |
| static const int | BASES_IN_RANGE_RESUPPLY_THRESHOLD = 5 |
| static const float | HQ_VEHICLE_SPAWN_RADIUS = 40 |
| static const float | HQ_VEHICLE_QUERY_SPACE = 6 |
| static ref OnBaseStateChangedInvoker | m_OnFactionChangedExtended |
| static ref OnBaseStateChangedInvoker | m_OnBaseUnderAttack |
| static ref OnBaseAttackEndInvoker | m_OnBaseAttackEnd |
|
protected |
Reinforcements timer has finished, send in reinforcements.
| void SCR_CampaignMilitaryBaseComponent.AddSupplies | ( | int | suppliesCount, |
| bool | replicate = true ) |
Add delivered supplies.
| [in] | suppliesCount | |
| [in] | replicate |
| void SCR_CampaignMilitaryBaseComponent.AlterSupplyIncomeTimer | ( | float | time | ) |
Change reinforcements timer.
| time | This number is added to the timer |
| void SCR_CampaignMilitaryBaseComponent.ApplyHeaderSettings | ( | notnull SCR_CampaignCustomBase | settings | ) |
| [in] | settings |
| bool SCR_CampaignMilitaryBaseComponent.BeginCapture | ( | SCR_CampaignFaction | faction, |
| int | playerID = INVALID_PLAYER_INDEX ) |
Capturing has begun.
| void SCR_CampaignMilitaryBaseComponent.CalculateSupplyRegenerationAmount | ( | float | currentSupplies, |
| float | maxSupplies, | ||
| notnull SCR_CampaignFaction | faction ) |
Calculates the supply regeneration amount based on input parameters.
Calculated value saves to m_iSupplyRegenAmount
| [in] | currentSupplies | |
| [in] | maxSupplies | |
| [in] | faction |
| bool SCR_CampaignMilitaryBaseComponent.CanBeHQ | ( | ) |
| bool SCR_CampaignMilitaryBaseComponent.CanReachByRadio | ( | notnull IEntity | entity | ) |
| void SCR_CampaignMilitaryBaseComponent.ChangeRadioSettings | ( | notnull SCR_Faction | faction | ) |
| [in] | faction |
|
protected |
| bool SCR_CampaignMilitaryBaseComponent.ContainsGroup | ( | SCR_AIGroup | grp | ) |
| bool SCR_CampaignMilitaryBaseComponent.CostSuppliesToSpawn | ( | ) |
|
protected |
| void SCR_CampaignMilitaryBaseComponent.Disable | ( | ) |
| bool SCR_CampaignMilitaryBaseComponent.DisableWhenUnusedAsHQ | ( | ) |
|
protected |
| void SCR_CampaignMilitaryBaseComponent.EndCapture | ( | ) |
Capturing has been terminated.
| override void SCR_CampaignMilitaryBaseComponent.EOnInit | ( | IEntity | owner | ) |
Implements SCR_MilitaryBaseComponent.
| void SCR_CampaignMilitaryBaseComponent.EvaluateDefenders | ( | ) |
Periodically add XP to players defending their base.
| void SCR_CampaignMilitaryBaseComponent.FlashBaseIcon | ( | float | remainingTime = 0, |
| Faction | faction = null, | ||
| bool | changeToDefault = false, | ||
| bool | infiniteTimer = false ) |
| IEntity SCR_CampaignMilitaryBaseComponent.GetBaseBuildingComposition | ( | ) |
| string SCR_CampaignMilitaryBaseComponent.GetBaseName | ( | ) |
Returns the name of this base.
| string SCR_CampaignMilitaryBaseComponent.GetBaseNameUpperCase | ( | ) |
Returns the upper-case name of this base.
| float SCR_CampaignMilitaryBaseComponent.GetBaseSpawnCostFactor | ( | ) |
| ResourceName SCR_CampaignMilitaryBaseComponent.GetBuildingIconImageset | ( | ) |
| bool SCR_CampaignMilitaryBaseComponent.GetBuiltByPlayers | ( | ) |
| FactionKey SCR_CampaignMilitaryBaseComponent.GetBuiltFaction | ( | ) |
| SCR_CampaignFaction SCR_CampaignMilitaryBaseComponent.GetCampaignFaction | ( | ) |
Returns the owning faction.
| bool SCR_CampaignMilitaryBaseComponent.GetDisableWhenUnusedAsHQ | ( | ) |
| string SCR_CampaignMilitaryBaseComponent.GetFormattedBaseNameWithCallsign | ( | Faction | faction | ) |
| [in] | faction |
| SCR_ERadioCoverageStatus SCR_CampaignMilitaryBaseComponent.GetHQRadioCoverage | ( | notnull SCR_CampaignFaction | faction | ) |
| [in] | faction |
| bool SCR_CampaignMilitaryBaseComponent.GetIsEntityInMyRange | ( | notnull IEntity | entity | ) |
| [in] | entity |
| SCR_CampaignMilitaryBaseMapDescriptorComponent SCR_CampaignMilitaryBaseComponent.GetMapDescriptor | ( | ) |
| SCR_CampaignMapUIBase SCR_CampaignMilitaryBaseComponent.GetMapUI | ( | ) |
|
static |
|
static |
|
static |
| ScriptInvokerFloat SCR_CampaignMilitaryBaseComponent.GetOnReservedSupplyAmountChanged | ( | ) |
| OnSpawnPointAssignedInvoker SCR_CampaignMilitaryBaseComponent.GetOnSpawnPointAssigned | ( | ) |
| ScriptInvokerVoid SCR_CampaignMilitaryBaseComponent.GetOnSuppliesArrivalInvoker | ( | ) |
| OnSupplyLimitChangedInvoker SCR_CampaignMilitaryBaseComponent.GetOnSupplyLimitChanged | ( | ) |
| ScriptInvokerInt SCR_CampaignMilitaryBaseComponent.GetOnSupplyRequestExecutionPriorityChanged | ( | ) |
| float SCR_CampaignMilitaryBaseComponent.GetRadioRange | ( | ) |
| int SCR_CampaignMilitaryBaseComponent.GetReconfiguredByID | ( | ) |
|
protected |
| float SCR_CampaignMilitaryBaseComponent.GetReservedSupplyAmount | ( | ) |
| SCR_ResourceComponent SCR_CampaignMilitaryBaseComponent.GetResourceComponent | ( | ) |
return ResourceComponent of base
| SCR_ResourceConsumer SCR_CampaignMilitaryBaseComponent.GetResourceConsumer | ( | ) |
| WorldTimestamp SCR_CampaignMilitaryBaseComponent.GetRespawnTimestamp | ( | ) |
| float SCR_CampaignMilitaryBaseComponent.GetScarcityLevel | ( | ) |
| SCR_SpawnPoint SCR_CampaignMilitaryBaseComponent.GetSpawnPoint | ( | ) |
| float SCR_CampaignMilitaryBaseComponent.GetSupplies | ( | ) |
| float SCR_CampaignMilitaryBaseComponent.GetSuppliesArrivalTime | ( | ) |
|
protected |
Implemented in SCR_CampaignSourceBaseComponent.
| int SCR_CampaignMilitaryBaseComponent.GetSuppliesIncome | ( | ) |
|
protected |
Implemented in SCR_CampaignSourceBaseComponent.
| float SCR_CampaignMilitaryBaseComponent.GetSuppliesMax | ( | ) |
| float SCR_CampaignMilitaryBaseComponent.GetSupplyLimit | ( | ) |
| SCR_ESupplyRequestExecutionPriority SCR_CampaignMilitaryBaseComponent.GetSupplyRequestExecutionPriority | ( | ) |
| SCR_ECampaignBaseType SCR_CampaignMilitaryBaseComponent.GetType | ( | ) |
Returns type of this base.
|
protected |
Changes the faction which can spawn on spawn point groups owned by this base.
Implemented in SCR_CampaignSourceBaseComponent.
| void SCR_CampaignMilitaryBaseComponent.HideMapLocationLabel | ( | ) |
| void SCR_CampaignMilitaryBaseComponent.Initialize | ( | ) |
| bool SCR_CampaignMilitaryBaseComponent.IsBeingCaptured | ( | ) |
Returns whether this base is being captured.
| bool SCR_CampaignMilitaryBaseComponent.IsControlPoint | ( | ) |
| bool SCR_CampaignMilitaryBaseComponent.IsHQ | ( | ) |
| bool SCR_CampaignMilitaryBaseComponent.IsHQRadioTrafficPossible | ( | notnull SCR_CampaignFaction | faction, |
| SCR_ERadioCoverageStatus | direction = SCR_ERadioCoverageStatus::RECEIVE ) |
| [in] | faction | |
| [in] | direction |
| bool SCR_CampaignMilitaryBaseComponent.IsInitialized | ( | ) |
| bool SCR_CampaignMilitaryBaseComponent.IsResupplyNeeded | ( | ) |
| bool SCR_CampaignMilitaryBaseComponent.IsResupplyTaskCreationEnabled | ( | ) |
| bool SCR_CampaignMilitaryBaseComponent.IsValidForSeizeTask | ( | ) |
Checks if this base is eligible for a Seize task.
| bool SCR_CampaignMilitaryBaseComponent.IsValidTarget | ( | notnull SCR_CampaignFaction | faction | ) |
| void SCR_CampaignMilitaryBaseComponent.NotifyAboutEnemyAttack | ( | notnull Faction | attackingFaction | ) |
| [in] | attackingFaction |
| void SCR_CampaignMilitaryBaseComponent.OnAllBasesInitialized | ( | ) |
| void SCR_CampaignMilitaryBaseComponent.OnAttackingFactionChanged | ( | ) |
|
protected |
| override void SCR_CampaignMilitaryBaseComponent.OnCapturingFactionChanged | ( | ) |
Event which is triggered when the capturing faction changes.
Implements SCR_MilitaryBaseComponent.
| override void SCR_CampaignMilitaryBaseComponent.OnDelete | ( | IEntity | owner | ) |
| void SCR_CampaignMilitaryBaseComponent.OnDisabled | ( | ) |
|
protected |
Event which is triggered when the owning faction changes.
Implements SCR_MilitaryBaseComponent.
| void SCR_CampaignMilitaryBaseComponent.OnHasSignalChanged | ( | ) |
|
protected |
| void SCR_CampaignMilitaryBaseComponent.OnInitialized | ( | ) |
|
protected |
| override void SCR_CampaignMilitaryBaseComponent.OnPostInit | ( | IEntity | owner | ) |
Implements SCR_MilitaryBaseComponent.
| void SCR_CampaignMilitaryBaseComponent.OnRadioRangeChanged | ( | ) |
| void SCR_CampaignMilitaryBaseComponent.OnRespawnCooldownChanged | ( | ) |
| void SCR_CampaignMilitaryBaseComponent.OnServiceBuilt | ( | notnull SCR_ServicePointComponent | service | ) |
| [in] | service |
| void SCR_CampaignMilitaryBaseComponent.OnServiceBuilt_AfterInit | ( | SCR_ServicePointComponent | service | ) |
| [in] | service |
| void SCR_CampaignMilitaryBaseComponent.OnServiceRemoved | ( | notnull SCR_MilitaryBaseLogicComponent | service | ) |
| [in] | service |
| override void SCR_CampaignMilitaryBaseComponent.OnServiceStateChanged | ( | SCR_EServicePointStatus | state, |
| notnull SCR_ServicePointComponent | serviceComponent ) |
Called every time the status of the registered service has changed.
| [in] | state | |
| [in] | serviceComponent |
Implements SCR_MilitaryBaseComponent.
| void SCR_CampaignMilitaryBaseComponent.OnSpawnPointFactionAssigned | ( | FactionKey | faction | ) |
| [in] | faction |
|
protected |
| void SCR_CampaignMilitaryBaseComponent.RecalculateRadioRange | ( | ) |
| void SCR_CampaignMilitaryBaseComponent.RefreshSeizingTimers | ( | ) |
| override void SCR_CampaignMilitaryBaseComponent.RegisterLogicComponent | ( | notnull SCR_MilitaryBaseLogicComponent | component | ) |
| [in] | component |
Implements SCR_MilitaryBaseComponent.
| void SCR_CampaignMilitaryBaseComponent.RegisterRemnants | ( | notnull SCR_AmbientPatrolSpawnPointComponent | remnants | ) |
| [in] | remnants |
|
protected |
| void SCR_CampaignMilitaryBaseComponent.RemoveGroup | ( | SCR_AIGroup | grp | ) |
|
protected |
| void SCR_CampaignMilitaryBaseComponent.SendHQMessageBaseCaptured | ( | ) |
| void SCR_CampaignMilitaryBaseComponent.SetAsHQ | ( | bool | isHQ | ) |
| [in] | isHQ |
| void SCR_CampaignMilitaryBaseComponent.SetAttackingFaction | ( | int | enemyFaction | ) |
| [in] | enemyFaction |
| void SCR_CampaignMilitaryBaseComponent.SetBaseBuildingComposition | ( | IEntity | building | ) |
| void SCR_CampaignMilitaryBaseComponent.SetBaseUI | ( | SCR_CampaignMapUIBase | base | ) |
Called from SCR_MapCampaignUI when base UI elements are initialized.
| void SCR_CampaignMilitaryBaseComponent.SetBuiltByPlayers | ( | bool | builtByPlayers | ) |
| void SCR_CampaignMilitaryBaseComponent.SetBuiltFaction | ( | notnull Faction | faction | ) |
| override void SCR_CampaignMilitaryBaseComponent.SetCallsign | ( | notnull SCR_Faction | faction | ) |
| [in] | faction |
Implements SCR_MilitaryBaseComponent.
| override void SCR_CampaignMilitaryBaseComponent.SetCallsignIndexAutomatic | ( | int | index | ) |
| [in] | index |
Implements SCR_MilitaryBaseComponent.
| void SCR_CampaignMilitaryBaseComponent.SetDefendersGroup | ( | SCR_AIGroup | grp | ) |
| [in] | grp |
| void SCR_CampaignMilitaryBaseComponent.SetFaction | ( | SCR_CampaignFaction | faction | ) |
| [in] | faction |
| void SCR_CampaignMilitaryBaseComponent.SetInitialSupplies | ( | float | suppliesCount | ) |
| [in] | suppliesCount |
|
protected |
| void SCR_CampaignMilitaryBaseComponent.SetReservedSupplyAmount | ( | float | value | ) |
| void SCR_CampaignMilitaryBaseComponent.SetStartingSupplies | ( | float | suppliesCount | ) |
| [in] | suppliesCount |
| void SCR_CampaignMilitaryBaseComponent.SetSupplies | ( | float | suppliesCount | ) |
| [in] | suppliesCount |
| void SCR_CampaignMilitaryBaseComponent.SetSuppliesArrivalTime | ( | float | time | ) |
| void SCR_CampaignMilitaryBaseComponent.SetSupplyLimit | ( | float | value | ) |
| void SCR_CampaignMilitaryBaseComponent.SetSupplyRequestExecutionPriority | ( | SCR_ESupplyRequestExecutionPriority | priority | ) |
| void SCR_CampaignMilitaryBaseComponent.SpawnBuilding | ( | ResourceName | prefab, |
| vector | position, | ||
| vector | rotation, | ||
| bool | isMainTent = false ) |
| [in] | prefab | |
| [in] | position | |
| [in] | rotation | |
| [in] | isMainTent |
|
protected |
|
protected |
Handles the timer for reinforcements arrival at this base.
| reset | Resets the current timer |
|
protected |
| void SCR_CampaignMilitaryBaseComponent.Update | ( | float | timeSlice | ) |
| [in] | timeSlice |
| void SCR_CampaignMilitaryBaseComponent.UpdateRespawnCooldown | ( | ) |
|
static |
|
staticprotected |
|
staticprotected |
|
static |
|
static |
|
static |
|
staticprotected |
|
staticprotected |
|
static |
|
static |
|
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 |
|
staticprotected |
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
staticprotected |
|
static |