Download

How to using c++ change default values using ref of components what created in blueprint

Hi! :slight_smile:

I need to make calculations based on the components that I added to child Blueprint. Then I want to set default values ​​for this blueprint.

For example, I have the following components:
[ATTACH=JSON]{“data-align”:“none”,“data-size”:“full”,“data-tempid”:“temp_164766_1558096154557_420”,“title”:“Anotation1.png”}[/ATTACH]

And I need to save all the static meshes that they use in the “Some array”

I tried to use functions:
**“PostEditChangeProperty”, “PostInitProperties” **- during the excitement, the components did not have time to initialize. And the variable is BlueprintCreatedComponents == 0;

I also tried to use** “PostInitializeComponents”** - the components were initialized, but the default value does not change in this function.

Does anyone know how to do this? :frowning: