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: