TaskEventHandler gives you the possibility to easily hook onto every state of the task per script. The TaskEventHandler has to be a child of a Task on which states you want to hook on by script. Hook onto task states by script: Give the instance of the object a name: Choose a script type Code something like that:
The TaskEventHandler has to be a child of a Task on which states you want to hook on by script. TaskEventHandler → NO_SCR_TaskEventHandler
Intro There are two types of group prefabs: /Groups/DynamicFaction/.. /Groups/ They have one big difference from the Dynamic Faction ones there is this field populated: And on the other ones is the prefab field populated: How to use the Prefabs: You can always ignore the SpawnManager with the checkbox: “IgnoreSpawnManagerAndUSePrefabs” If there is no SpawnManager at all it will fallback to using the prefabs only Pro: You can always spawn the same faction doesn’t matter which it set on […]
The Task Trigger can be used for many things and any state of the task. There are many ways to state a task to a state you want with different stuff that happens in that trigger. It always has to be a child of the task on which the action should be done. TaskTrigger→ NO_SCR_TaskTrigger
This trigger has to be a child of the task it should trigger and can Trigger a destroy, die or disappear of a named object. NameObjectTaskTrigger → NO_SCR_TaskNamedObjectTriggerComponent
This trigger is made to trigger when the player has reached a position for example. So for a move task as an example. MoveAreaTrigger → NO_SCR_TaskTrigger
This trigger has to be a child of the task it should trigger and can Trigger everything that NO_SCR_FactionControlTrigger can trigger. AreaFactionControlTrigger → NO_SCR_FactionControlTrigger
This trigger has to be a child of the task it should trigger and can Trigger a destroy, die or disappear of a named object. DestroyAiOrVehicleTrigger → NO_SCR_TaskNamedObjectTriggerComponent
All Tasks have to be children of the TaskManager TaskManager → No_SCR_TaskManager
All Tasks have to be children of the TaskManager. here you can select if you want to show if the tasks that get assigned are assigned by the GameMaster. Be Aware: The Dummy Faction needs to be set to a specific faction that is in the FactionManager but is not playable Variables Name Real Name Category Description Show GM Message When Assigning Tasks m_bShowGMMessageWhenAssigningTasks TaskManager Show that the GM has assigned the Tasks! Dummy faction m_Dummyfaction TaskManager Dummy Faction […]