1[
ComponentEditorProps(
category:
"GameScripted/Editor (Editables)", description:
"", icon:
"WBData/ComponentEditorProps/componentEditor.png")]
4 [
Attribute(
"#AR-Tasks_Objective",
desc:
"Name of objective type eg: Attack objective. Used among in, among other things, in notifications",
category:
"Visualization")]
28 [
RplProp(onRplName:
"OnAttachedToId")]
90 return m_Task.GetTextType();
124 return m_Task.GetTaskCompletionType();
132 if (
m_Task.GetTaskCompletionType() == completionType)
143 m_Task.SetTaskCompletionType(completionType);
159 m_Task.SetTaskName(info.GetUnformattedName(), {m_Task.GetLocationName()});
193 if (!super.SetTransform(transform, changedByUser))
209 if (!super.RplSave(writer))
213 if (
GetGame().GetFactionManager())
216 writer.WriteInt(factionIndex);
226 if (!super.RplLoad(reader))
230 reader.ReadInt(factionIndex);
231 if (
GetGame().GetFactionManager())
254 m_Task.SetTaskOwnership(SCR_ETaskOwnership.FACTION);
267 AttachTo(parentEntity);
272 super.OnParentEntityChanged(null, null, changedByUser);
276 super.OnParentEntityChanged(parentEntity, parentEntityPrev, changedByUser);
287 m_Task = SCR_EditorTask.Cast(ent);
292 override bool Delete(
bool changedByUser =
false,
bool updateNavmesh =
true)
297 return super.Delete(changedByUser, updateNavmesh);
SCR_EAIThreatSectorFlags flags
EEditorTaskCompletionType
Way of determening if a task is completed automaticly, manually or always manually (In the latter cas...
ArmaReforgerScripted GetGame()
override bool RplLoad(ScriptBitReader reader)
enum EAIGroupCombatMode ComponentEditorProps(category:"GameScripted/AI", description:"Component for utility AI system for groups")
SCR_CacheNoteComponentClass ScriptComponentClass RplProp()] protected ref array< string > m_aLines
override bool RplSave(ScriptBitWriter writer)
SCR_CampaignFaction GetFaction()
SCR_DestructionSynchronizationComponentClass ScriptComponentClass int index
override void OnParentEntityChanged(SCR_EditableEntityComponent parentEntity, SCR_EditableEntityComponent parentEntityPrev, bool changedByUser)
override SCR_EditableEntityComponent EOnEditorPlace(out SCR_EditableEntityComponent parent, SCR_EditableEntityComponent recipient, EEditorPlacingFlags flags, bool isQueue, int playerID=0)
override bool SetTransform(vector transform[4], bool changedByUser=false)
override bool Delete(bool changedByUser=false, bool updateNavmesh=true)
override ScriptInvoker GetOnUIRefresh()
void SCR_EditableDescriptorComponent(IEntityComponentSource src, IEntity ent, IEntity parent)
SCR_EditableEntityComponent m_NearestLocation
ref SCR_EditableDescriptorUIInfo m_UIInfoDescriptor
void GetOnLocationChange(SCR_EditableEntityComponent nearestLocation)
bool UpdateNearestLocation(vector pos=vector.Zero)
void UpdateInfo(SCR_UIDescription from=null)
ref ScriptInvoker Event_OnUIRefresh
ETaskTextType GetTextType()
SCR_AttachableTask m_AttachableTask
void SCR_EditableTaskComponent(IEntityComponentSource src, IEntity ent, IEntity parent)
override SCR_EditableEntityComponent GetAttachedTo()
void SetTextIndex(int index)
void SetTaskCompletionType(EEditorTaskCompletionType completionType)
override bool IsAttachable()
void SetTextIndexBroadcast(int index)
void OnAttachedToId()
Runs when an ID is attached.
void SetTaskCompletionTypeBroadcast(EEditorTaskCompletionType completionType)
SCR_EditableEntityComponent m_AttachedTo
void SetTargetFaction(notnull Faction faction)
EEditorTaskCompletionType GetTaskCompletionType()
override bool IsAttached()
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
void SCR_TextsTaskManagerComponent(IEntityComponentSource src, IEntity ent, IEntity parent)
Replication item identifier.
set< SCR_EditableEntityComponent > GetAttachedEntities()
void Attach(notnull SCR_EditableEntityComponent attachable)
void AddChild(SCR_EditableEntityComponent entity)
LocalizedString GetObjectiveTypeName()
LocalizedString m_sObjectiveTypeName
static int GetLocalPlayerId()
Returns either a valid ID of local player or 0.
LocalizedString GetUnformattedDescription()
IEntity GetOwner()
Owner entity of the fuel tank.
SCR_EditableTaskComponentClass m_Task
Editable SCR_BaseTask.
SCR_FieldOfViewSettings Attribute
void RplRpc(RplChannel channel, RplRcver rcver, RplCondition condition=RplCondition.None, string customConditionName="")
RplChannel
Communication channel. Reliable is guaranteed to be delivered. Unreliable not.