![]() |
Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Go to the source code of this file.
Classes | |
| class | SCR_BaseSupportStationComponentClass |
Enumerations | |
| enum | ESupportStationFactionUsage { SAME_CURRENT_FACTION = 1 << 0 , FRIENDLY_CURRENT_FACTION = 1 << 1 , SAME_DEFAULT_FACTION = 1 << 2 , FRIENDLY_DEFAULT_FACTION = 1 << 3 , DISALLOW_USE_ON_CURRENT_FACTION_NULL = 1 << 4 } |
Functions | |
| SCR_BaseSupportStationComponentClass ScriptComponentClass | Attribute ("0", desc:"Priority dictates the array order when trying to get the first availible support station. Higher priority means it is closer to the start of the array. Think of grabbing a composition refuel station before a vehicle refuel station.", uiwidget:UIWidgets.SearchComboBox, enums:ParamEnumArray.FromEnum(ESupportStationPriority), category:"General Settings")] protected ESupportStationPriority m_eSupportStationPriority |
| bool | GetSendNotificationOnUse () |
| bool | CanMoveWithPhysics () |
| bool | AllowGetFactionFromParent () |
| SCR_AudioSourceConfiguration | GetOnUseAudioConfig () |
| SCR_AudioSourceConfiguration | CreateOnUseAudioConfig (ResourceName soundFile, string soundEvent) |
| void | GetCharacterVoiceSoundEventVariables (out string characterVoiceEventOnUse, out int characterVoicePriority) |
| void | OnExecutedServer (notnull IEntity actionOwner, notnull IEntity actionUser, notnull SCR_BaseUseSupportStationAction action) |
| void | FindEntityIds (IEntity owner, IEntity user, out RplId ownerId, out RplId userId, out int playerId) |
| void | GetEntitiesFromID (RplId ownerId, RplId userId, out IEntity owner, out IEntity user) |
| void | OnExecuteBroadcast (RplId ownerId, RplId userId, int userPlayerId, int actionId) |
| void | OnExecute (IEntity actionOwner, IEntity actionUser, int playerId, SCR_BaseUseSupportStationAction action) |
| void | OnSuccessfullyExecuted (IEntity actionOwner, IEntity actionUser, SCR_BaseUseSupportStationAction action) |
| void | PlaySoundEffect (SCR_AudioSourceConfiguration audioConfig, notnull IEntity soundOwner, SCR_BaseUseSupportStationAction action) |
| void | PlayCharacterVoiceEvent (IEntity character) |
| bool | IsValid (IEntity actionOwner, IEntity actionUser, SCR_BaseUseSupportStationAction action, vector actionPosition, out ESupportStationReasonInvalid reasonInvalid, out int supplyAmount) |
| ESupportStationType | GetSupportStationType () |
| ESupportStationPriority | GetSupportStationPriority () |
| void | SetEnabled (bool enable) |
| void | SetEnabledBroadcast (bool enable) |
| bool | IsEnabled () |
| Returns true if the light is enabled. | |
| ScriptInvoker | GetOnEnabledChanged () |
| bool | HasSupplyGainInsteadOfCost (SCR_BaseUseSupportStationAction action) |
| bool | IsMoving () |
| bool | IsUserValidFaction (IEntity user) |
| SCR_Faction | GetFaction () |
| int | GetSupplyAmountAction (IEntity actionOwner, IEntity actionUser, SCR_BaseUseSupportStationAction action) |
| int | GetMaxAvailableSupplies () |
| bool | HasEnoughSupplies (IEntity actionOwner, IEntity actionUser, int supplyAmountToCheck) |
| bool | OnConsumeSuppliesServer (int amount) |
| bool | HasSpaceForSuppliesGeneration (IEntity actionOwner, IEntity actionUser, int supplyAmountToCheck) |
| bool | OnGenerateSuppliesServer (int amount) |
| bool | AreSuppliesEnabled () |
| SCR_ResourceConsumer | GetResourceConsumer () |
| SCR_ResourceGenerator | GetResourceGenerator () |
| SCR_ResourceComponent | GetResourceComponent () |
| float | GetRange () |
| bool | IsInRange (notnull IEntity actionOwner, vector actionPosition) |
| bool | UsesRange () |
| vector | GetPosition () |
| vector | GetOffset () |
| bool | IgnoreSelf () |
| LocalizedString | GetOverrideUserActionName () |
| void | GetPlayerIdsInVehicle (IEntity vehicle, out notnull array< int > playerIds) |
| bool | OverrideDamageState (EDamageState damageState, bool checkIfHasDamageSystem) |
| void | OnHitZoneDamageStateChanged (SCR_HitZone defaultHitZone) |
| Called when default hitZone damage state changed. Not called if entity has a damage manager. | |
| void | OnDamageStateChanged (EDamageState damageState) |
| Called when damage manager (or default hitZone) damage state changes. | |
| void | AddRemoveOnDamageStateChanged (IEntity owner, bool subscribe) |
| Grabs either damage manager or HitZoneContainer to subscribe to OnDamageStateChanged. | |
| override bool | RplSave (ScriptBitWriter writer) |
| override bool | RplLoad (ScriptBitReader reader) |
| bool | InitValidSetup () |
| void | TEMP_OnInteractorReplicated () |
| override void | EOnInit (IEntity owner) |
| void | DelayedInit (IEntity owner) |
| override void | OnPostInit (IEntity owner) |
| Editable Mine. | |
| override void | OnDelete (IEntity owner) |
|
protected |
Definition at line 1416 of file SCR_BaseSupportStationComponent.c.
Grabs either damage manager or HitZoneContainer to subscribe to OnDamageStateChanged.
Definition at line 993 of file SCR_BaseSupportStationComponent.c.
|
protected |
Check if prefab allows the faction affiliation component to be obtained from parent Used in init
Definition at line 43 of file SCR_BaseSupportStationComponent.c.
|
protected |
Get if support station should check for supplies
Definition at line 736 of file SCR_BaseSupportStationComponent.c.
| SCR_BaseSupportStationComponentClass ScriptComponentClass Attribute | ( | "0" | , |
| desc:"Priority dictates the array order when trying to get the first availible support station. Higher priority means it is closer to the start of the array. Think of grabbing a composition refuel station before a vehicle refuel station." | , | ||
| uiwidget:UIWidgets. | SearchComboBox, | ||
| enums:ParamEnumArray. | FromEnumESupportStationPriority, | ||
| category:"General Settings" | ) |
|
protected |
If false then the object has no physics to move it self. If true it means it can be moved via physics which means it checks the rigid body if it has a velocity and does not allow to be used if it has
Definition at line 34 of file SCR_BaseSupportStationComponent.c.
|
protected |
Get Audio config to play Will create it if it not yet exists. Returns null if no SoundFile or SoundEvent is set
Definition at line 65 of file SCR_BaseSupportStationComponent.c.
|
protected |
Definition at line 1093 of file SCR_BaseSupportStationComponent.c.
|
protected |
Definition at line 161 of file SCR_BaseSupportStationComponent.c.
|
protected |
Get the character voice varriables on support station use
| [out] | characterVoiceEventOnUse | Voice event to use |
| [out] | characterVoicePriority | priority of voice event |
Definition at line 86 of file SCR_BaseSupportStationComponent.c.
|
protected |
Definition at line 184 of file SCR_BaseSupportStationComponent.c.
|
protected |
Get current faction of Support Station (Or if allowed get default faction)
Definition at line 597 of file SCR_BaseSupportStationComponent.c.
|
protected |
Scan for the max available supplies that can be used for the action
Definition at line 626 of file SCR_BaseSupportStationComponent.c.
|
protected |
Definition at line 819 of file SCR_BaseSupportStationComponent.c.
|
protected |
Get scriptinvoker when support station is enabled changes. Sends over bool with enabled state
Definition at line 493 of file SCR_BaseSupportStationComponent.c.
|
protected |
Get Audio config to play Will create it if it not yet exists. Returns null if no SoundFile or SoundEvent is set
Definition at line 52 of file SCR_BaseSupportStationComponent.c.
|
protected |
Definition at line 836 of file SCR_BaseSupportStationComponent.c.
Definition at line 874 of file SCR_BaseSupportStationComponent.c.
|
protected |
Get the center of the Support station that is used with range + offset
Definition at line 811 of file SCR_BaseSupportStationComponent.c.
|
protected |
Returns range. If range is disabled it will be -1
Definition at line 771 of file SCR_BaseSupportStationComponent.c.
|
protected |
Definition at line 758 of file SCR_BaseSupportStationComponent.c.
|
protected |
Definition at line 745 of file SCR_BaseSupportStationComponent.c.
|
protected |
Definition at line 752 of file SCR_BaseSupportStationComponent.c.
|
protected |
Get if notification should be shown on Action executed
Definition at line 26 of file SCR_BaseSupportStationComponent.c.
|
protected |
Get the minimum amount of supplies needed for the action (Can be cost or gain) This is the amount of supplies needed to pass the IsValid check when using supplies and when executed The method is generally overwritten in inherited support stations
Definition at line 618 of file SCR_BaseSupportStationComponent.c.
|
protected |
Get Support station priority.
Definition at line 440 of file SCR_BaseSupportStationComponent.c.
|
protected |
Get Support station type.
Definition at line 430 of file SCR_BaseSupportStationComponent.c.
|
protected |
Definition at line 650 of file SCR_BaseSupportStationComponent.c.
|
protected |
Definition at line 690 of file SCR_BaseSupportStationComponent.c.
|
protected |
Override if it has supply gain instead of cost
| [in] | action | Action of the support station |
Definition at line 505 of file SCR_BaseSupportStationComponent.c.
|
protected |
If true and the action uses range it will never check itself. If false it will check itself though use the standard priority for it
Definition at line 829 of file SCR_BaseSupportStationComponent.c.
|
protected |
Definition at line 1061 of file SCR_BaseSupportStationComponent.c.
param[in] actionOwner Owner of the support station action to check range of param[in] actionPosition Action position if the bounding box is not used or in valid to check range
Definition at line 780 of file SCR_BaseSupportStationComponent.c.
|
protected |
Definition at line 512 of file SCR_BaseSupportStationComponent.c.
Definition at line 527 of file SCR_BaseSupportStationComponent.c.
|
protected |
Executed when action has been executed. Here you can execute things such as removing supplies/fuel from the entity
| [in] | actionOwner | entity on which the ActionManager is |
| [in] | actionUser | Entity that started the interaction |
| [in] | action | |
| [in] | actionPosition | |
| [out] | reasonInvalid | Reason why action is invalid |
| [out] | supplyAmount | cost or gain of supplies when using the support station |
Definition at line 332 of file SCR_BaseSupportStationComponent.c.
Action is executed and supplies are used (Server Only)
| [in] | amount |
Definition at line 677 of file SCR_BaseSupportStationComponent.c.
|
protected |
Called when damage manager (or default hitZone) damage state changes.
Definition at line 957 of file SCR_BaseSupportStationComponent.c.
|
protected |
Definition at line 1186 of file SCR_BaseSupportStationComponent.c.
|
protected |
Called by OnExecuteBroadcast and is executed both on server and on client playerId can be -1 if the user was not a player
Definition at line 219 of file SCR_BaseSupportStationComponent.c.
Definition at line 198 of file SCR_BaseSupportStationComponent.c.
|
protected |
Executed the support Station effect (Server only). Here you can execute things such as removing supplies/fuel from the entity
| [in] | actionOwner | entity that is the owner of the ActionManager which initiated the action |
| [in] | actionUser | Entity that started the interaction to use the support station |
| [in] | action |
Definition at line 147 of file SCR_BaseSupportStationComponent.c.
Action is executed and supplies are added to a storage (Server Only)
| [in] | amount |
Definition at line 722 of file SCR_BaseSupportStationComponent.c.
|
protected |
Called when default hitZone damage state changed. Not called if entity has a damage manager.
Definition at line 949 of file SCR_BaseSupportStationComponent.c.
|
protected |
Definition at line 227 of file SCR_BaseSupportStationComponent.c.
|
protected |
Allows devs to functionally destroy the Support station (or other state) without the need of a DamageManager. If a damage system exists on the entity then it is adviced to let it handle the logic.
| [in] | damageState | State to set |
| [in] | checkIfHasDamageSystem | If true it will check if any damage system is present and if so will not over the state. If false it will simply override it |
Definition at line 919 of file SCR_BaseSupportStationComponent.c.
|
protected |
Definition at line 295 of file SCR_BaseSupportStationComponent.c.
|
protected |
Definition at line 235 of file SCR_BaseSupportStationComponent.c.
|
protected |
Definition at line 1047 of file SCR_BaseSupportStationComponent.c.
|
protected |
Definition at line 1039 of file SCR_BaseSupportStationComponent.c.
|
protected |
Definition at line 461 of file SCR_BaseSupportStationComponent.c.
|
protected |
Definition at line 1074 of file SCR_BaseSupportStationComponent.c.
|
protected |
If true then the action will use range, if false it will not use range and only execute if the action and the action manager is on the entity itself
Definition at line 802 of file SCR_BaseSupportStationComponent.c.
|
protected |
Definition at line 130 of file SCR_BaseSupportStationComponent.c.
|
protected |
Definition at line 7 of file SCR_BaseSupportStationComponent.c.
|
protected |
Definition at line 115 of file SCR_BaseSupportStationComponent.c.
|
protected |
Definition at line 109 of file SCR_BaseSupportStationComponent.c.
|
protected |
Definition at line 1 of file SCR_BaseSupportStationComponent.c.
|
protected |
Definition at line 4 of file SCR_BaseSupportStationComponent.c.
|
protectedbound |
Definition at line 106 of file SCR_BaseSupportStationComponent.c.
|
protected |
Definition at line 134 of file SCR_BaseSupportStationComponent.c.
|
protected |
Definition at line 121 of file SCR_BaseSupportStationComponent.c.
|
protected |
Definition at line 135 of file SCR_BaseSupportStationComponent.c.
|
protected |
Definition at line 103 of file SCR_BaseSupportStationComponent.c.
|
protected |
Definition at line 112 of file SCR_BaseSupportStationComponent.c.
|
protected |
Definition at line 19 of file SCR_BaseSupportStationComponent.c.
|
protected |
Definition at line 21 of file SCR_BaseSupportStationComponent.c.
|
protected |
Definition at line 133 of file SCR_BaseSupportStationComponent.c.
|
protected |
Definition at line 126 of file SCR_BaseSupportStationComponent.c.
|
protected |
Definition at line 127 of file SCR_BaseSupportStationComponent.c.
|
protected |
Definition at line 138 of file SCR_BaseSupportStationComponent.c.
|
protected |
Definition at line 16 of file SCR_BaseSupportStationComponent.c.
|
protected |
Definition at line 136 of file SCR_BaseSupportStationComponent.c.
|
protected |
Definition at line 13 of file SCR_BaseSupportStationComponent.c.
|
protected |
Definition at line 10 of file SCR_BaseSupportStationComponent.c.
|
protected |
Definition at line 124 of file SCR_BaseSupportStationComponent.c.
|
protected |
Definition at line 118 of file SCR_BaseSupportStationComponent.c.