9 protected ETaskTextType m_TextType;
19 protected static int s_iNextAutomatedTaskID = 0;
101 super.SetTaskState(state);
142 playerFaction = factionManager.GetLocalPlayerFaction();
147 string playerFactionKey;
149 playerFactionKey = playerFaction.GetFactionKey();
178 FactionManager factionManager =
GetGame().GetFactionManager();
188 int factionIndex = factionManager.GetFactionIndex(faction);
191 if (!SendOverNetwork)
196 SCR_NotificationsComponent.SendLocalUnlimitedEditor(taskNotification,
position, taskID, factionIndex);
200 SCR_NotificationsComponent.SendToUnlimitedEditorPlayers(taskNotification,
position, taskID, factionIndex);
207 SCR_NotificationsComponent.SendLocalUnlimitedEditor(
ENotification.EDITOR_TASK_PLACED,
position, taskID, factionIndex);
213 super.EOnInit(owner);
219 s_iNextAutomatedTaskID++;
225 s_iNextAutomatedTaskID--;
EEditorTaskCompletionType
Way of determening if a task is completed automaticly, manually or always manually (In the latter cas...
ArmaReforgerScripted GetGame()
override void SetTaskState(SCR_ETaskState state)
SCR_ECampaignPopupPriority
Popup message priorities sorted from lowest to highest.
enum SCR_ECompassType EntityEditorProps(category:"GameScripted/Gadgets", description:"Compass", color:"0 0 255 255")
Prefab data class for compass component.
SCR_DestructionSynchronizationComponentClass ScriptComponentClass int index
LocalizedString m_sLocationName
ETaskTextType GetTextType()
void SetTextIndex(int index)
void SetTaskCompletionType(EEditorTaskCompletionType completionType)
EEditorTaskCompletionType GetTaskCompletionType()
void SCR_EditorManagerEntity(IEntitySource src, IEntity parent)
void SetLocationName(LocalizedString locationName)
void ShowPopUpNotification(string subtitle)
const string GENERATED_TASK_PREFIX
EEditorTaskCompletionType m_iTaskCompletionType
void ShowTaskNotification(ENotification taskNotification, bool SendOverNetwork=false)
void DelayedPlacedNotification(vector position, int taskID, int factionIndex)
void Rpc_PopUpNotification(string prefix, bool alwaysInEditor)
void SCR_FactionManager(IEntitySource src, IEntity parent)
SCR_ETaskState GetTaskState()
array< string > GetOwnerFactionKeys()
void SetTaskID(string taskID)
bool IsTaskAssignedTo(SCR_TaskExecutor executor, out SCR_TaskExecutor match=null)
string GetTaskName(SCR_Task task)
void SCR_TextsTaskManagerComponent(IEntityComponentSource src, IEntity ent, IEntity parent)
static Faction GetLocalMainEntityFaction()
Takes care of dynamic and static onscreen popups.
void PopupMsg(string text, float duration=DEFAULT_DURATION, string text2="", int prio=-1, string param1="", string param2="", string param3="", string param4="", string text2param1="", string text2param2="", string text2param3="", string text2param4="", string sound="", SCR_EPopupMsgFilter category=SCR_EPopupMsgFilter.ALL, WorldTimestamp progressStart=null, WorldTimestamp progressEnd=null)
static SCR_PopUpNotification GetInstance()
override void EOnInit(IEntity owner)
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.
proto bool Contains(T value)