Thanks a lot. didn't know I can get the runtime source code. amazing I already have it working
The modification is quite minor.
Firstly we would need an enumerator in order to select the order of calling the decorator
/// <summary>
/// Describes when a parent task gonna call its...
Also I have noticed the canExecute is not causing the task to fail if it returns false. this is problematic since it creates scenarios that cannot be distinguished
Currently:
decorator cannot execute -> decorator returns success
decorator can execute and task returns success -> decorator...
Hi,
I wanted to know the rationale behind Decorators not getting the update and Decorate function being called only after the child is executed.
This is quite limiting in comparison with the implementation of decorator in UE4.
I wanted to propose the following call flow. instead of decorators...