10 protected IEntity m_Entity;
15 super.FinishTask(task);
20 IEntity GetTaskEntity()
26 void SetTaskEntity(IEntity entity)
32 SCR_BaseTask CreateTask(SCR_ScenarioFrameworkLayerTask layer)
35 return super.CreateTask();
39 void SetTaskPrefab(ResourceName sTaskPrefab)
41 m_sTaskPrefab = sTaskPrefab;
45 protected SCR_Faction GetCharacterFaction(IEntity unit)
47 SCR_ChimeraCharacter character = SCR_ChimeraCharacter.Cast(unit);
58 int taskID = task.GetTaskID();
59 RPC_SpawnedEntityName(taskID, name);
60 Rpc(RPC_SpawnedEntityName, taskID, name);
64 [
RplRpc(RplChannel.Reliable, RplRcver.Broadcast)]
65 void RPC_SpawnedEntityName(
int taskID,
string name)
74 task.SetSpawnedEntityName(name);
81 int taskID = task.GetTaskID();
82 RPC_TaskExecutionBriefing(taskID, description);
83 Rpc(RPC_TaskExecutionBriefing, taskID, description);
87 [
RplRpc(RplChannel.Reliable, RplRcver.Broadcast)]
88 void RPC_TaskExecutionBriefing(
int taskID,
string description)
97 task.SetTaskExecutionBriefing(description);