Behavior Tree : Dynamic Subtree Injection question

I’ve been trying the dynamic injection of subtree. How does the inject tag thing works. I’m aware that there are no tutorial or much doc on gameplay tag, but how do you populate this list?

you need creat a DataTable(Gameplay Tag Raw Table),edit the DefaultEngine.ini file.

[GameplayTags]
+GameplayTagTableList=/Game/DataTables/GameplayTagTable.GameplayTagTable

fix the name and path for your.
sorry for my English.

I did as you said (and fixed the path for the data table I created), and restarted the editor, but the gameplay tags still don’t show up. Do you need to do anything else?

65024-qq图片20151031230545.png

restart UE4,the DataTable’s index must start 0.

Thanks it really got to work.

However , I’ve been digging through the half-done documents on gameplay tags. It seems that there’s a lot of test can be done on tags but absolutely no way to ‘add’ them. How do you ‘ADD’ a tag to an actor.

I’m specifically needing it for an EQS test of Actor has GameplayTag. seems to be no way to add tag at all.

I also want to konw.actor tag is not GameplayTag,I think UE4 not finish for GameplayTag,maybe need C++ extend.I think GameplayTag is for static asset,classes or layers data.The actor tag is more dynamic,like a name.Sorry,my English is poor,I can’t express more.

If you open your DefaultEngine.ini, add the following:

[GameplayTags]
ImportTagsFromConfig=True

Now in your Edit->Project Setting, you will now see a Gameplay Tags setting. Simply add the tag you want and they will show up in the UI.

Thank you,It’s right way