Announcement

Collapse
No announcement yet.

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

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

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

    Hi!

    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:


    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?
    Attached Files
    Last edited by zzzlor; 05-17-2019, 12:05 PM.
Working...
X