Order of BeginPlay Events in different Blueprints

anonymous_user_c3e69a5a
Tue, 16 Oct 2018 08:51:50 +0000
Blueprint

Hi, I wanted to ask what the order of Execution of BeginPlay Events is.
My Goal: I have two Blueprints. The second one needs a reference to the component of the first one, and it needs it at the beginning of the game.

So my first blueprint creates a public variable holding the reference, during construction script (so it should be there right after I place the blueprint in the editor):

In my Level Blueprint, I set another public variable of the second blueprint to that reference (at BeginPlay):

Finally, in the second Blueprint, I use the variable to call a specific method of it:

In the Render Pointcloud Method I check whether the “PointcloudRenderer” is set - and it isn´t during first execution.

How can I build this up, so that Render Pointcloud is called after all variables had surely been set?

6 posts - 1 participant