1 [
EntityEditorProps(
category:
"GameScripted/Tasks", description:
"Handles client > server communication for tasks. Should be attached to PlayerController.", color:
"0 0 255 255")]
91 [
RplRpc(RplChannel.Reliable, RplRcver.Server)]
102 if (!manager || manager.IsLimited())
125 supportEntity.UnassignTask(assigneeTask, assignee, SCR_EUnassignReason.GM_REASSIGN);
127 supportEntity.AssignTask(task, assignee,
true);
133 [
RplRpc(RplChannel.Reliable, RplRcver.Server)]
141 supportEntity.CancelTask(taskID);
148 [
RplRpc(RplChannel.Reliable, RplRcver.Server)]
168 [
RplRpc(RplChannel.Reliable, RplRcver.Server)]
191 Print(
"SCR_TaskNetworkComponent must be attached to SCR_PlayerController!", LogLevel.ERROR);
201 super.OnPostInit(owner);
202 SetEventMask(owner, EntityEvent.INIT);