[Closed] GameplayTask Resources
I'm trying to understand what does these functions do
Additionally, why does AITask has this function:
This seems to set the controller to null? Finally, is this an attempt to have multiple requesting methods (to move a pawn in this case) that play nice with BehaviorTree?
The question has been closed Jun 18 '16 at 07:14 PM by AndrewHurley for the following reason:
The question is answered, right answer was accepted
AITasks (and by extension GameplayTasks) are indeed aimed to be (at some point) where all possible request sources meet to do the actual work. GameplayTasksComponent is responsible for managing tasks of different priorities and different requirements. Resources "required" by a task are the resources we need to have available to trigger the task (like "movement" needs to be available). Claimed resources, are the ones that will get "locked" when a task gets activated (so movement tasks can claim "movement" resource).
I'd love to hear your feedback on this approach. However, I suggest waiting for 4.12 before seriously using AITasks - there have been a lot of improvements done to the system due to one of our AI heavy projects (Fortnite) switching over to AI tasks. Paragon has just started using AI tasks as well.
answered Jun 18 '16 at 07:13 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here