|
Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Go to the documentation of this file. 1 [
EntityEditorProps(
category:
"GameScripted/Campaign", description:
"This component handles service (composition) operability")]
9 [
Attribute(
"100", UIWidgets.Slider,
"Initial operability of service. If this goes to (or under) Service Unavailable value, composition is not providing it's service",
"0 100 1")];
13 [
Attribute(
"0", UIWidgets.Slider,
"Service is unavailable when operability drops to this value (or bellow)",
"0 100 1")];
17 protected static const int SLOT_SEARCH_DISTANCE = 5;
26 protected static const bool AVAILABLE =
true;
61 desc.SetServiceMarkerActive(AVAILABLE);
ref ScriptInvoker Event_EOnServiceRepaired
void SetCompositionType(EEditableEntityLabel type)
protected EEditableEntityLabel m_CompositionType
enum EQueryType EntityEditorProps(category:"GameScripted/Sound", description:"THIS IS THE SCRIPT DESCRIPTION.", color:"0 0 255 255")
SCR_SiteSlotEntityClass ScriptComponent
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
protected IEntity m_Owner
void SCR_ServicePointMapDescriptorComponent(IEntityComponentSource src, IEntity ent, IEntity parent)
protected SCR_CampaignMilitaryBaseComponent m_Base
protected SCR_ServicePointComponent m_Service
void ChangeOperability(int operability)
override void OnPostInit(IEntity owner)
Called on PostInit when all components are added.
EEditableEntityLabel GetCompositionType()
ref ScriptInvoker Event_EOnServiceDisabled
protected int m_iServiceOperability
protected int m_iServiceUnavailable
Service operability limit.
SCR_ServicePointComponent GetService()
SCR_CampaignServiceCompositionComponentClass ScriptComponentClass Attribute("100", UIWidgets.Slider, "Initial operability of service. If this goes to (or under) Service Unavailable value, composition is not providing it's service", "0 100 1")]
Service operability (initial)
void SetService(SCR_ServicePointComponent service)
protected SCR_SiteSlotEntity m_Slot
protected bool GetNearestSlot(IEntity ent)