Some help with propagating DataAsset values?

Question

Hi, this is something that not many people come accross, and I will keep researching, but I want to see if someone knows a good answer for this.

I have a main BP, with, say, 4 locations in it where AI can go to use it.
In some instances of this BP, I want to only have 2 locations (like, if it's in a corner).
Which is fine. But I have this inside DataAssets. The DataAsset is instanced and modified in the second BP with only the 2 locations.
Now, the issue is that I will add maybe 100 of those instanced BPs. With some locations removed or not.
Then I want to change the main BP, add other data or animation or something. This data won't be retransmitted to the instanced DataAssets. And I'll have to go through each one and select the new animation in all of them.
Is there a better way?

Ideas I've had:

  • Use Entire blueprints, and add a new blueprint child every time there is a change. Blueprints seem to know which values were changed and use the parents' values for the ones changed in the parent.
  • Keep a reference to the parent DataAsset, and have each variable that can be changed have a boolean. And only if the boolean is true, use the child value then.

First one can bring problems with, basically, maybe hundreds of variations of the BP.
Second one, I think would bring issues with arrays, and basically I'd need to modify the whole array and not use anything from the parent in those cases.

Posted Dec 17, 2022, 11:16 AM UTC

10

No comments yet

Nobody commented on this post, or the comments weren't captured.