Hello Is there a way to override anĀ Action Task Name like in Unreal Behaviour Tree?
I know there is a Name Attribute but I would need to give a name in Script.
I would like to name my task varations like Attack_Jump, Attack_Jump_Long etc and have it visible on Task Miniature
Unfortunately no, because I have a generic Task called CastSkill and insid Behaviour Tree I can choose many “implementations” of skill.
Using Name Attribute I can only name it inside script and it would be the same for all Task.
I would like to have an option to name them individually like you can comment or Tag on the Task
Then you’ll probably have to implement your node in a way that you can set your custom name from the inspector and then just pass that back through the name property, e.g.
Thanks @zsoik. That is indeed correct. Names are set code-wise and can not be changed, however you can override the ‘info’ property of tasks to return some useful info that is displayed within the nodes instead of the name if the info property is overridden (this is what most included tasks do).
Hi I tried to do it, but It seems like the Task name property cant be overriden because it does not derive from BTNode. I just see that it can be overriden by [Name] Attribute