Get all actors in construction script

Imagine-Games
Fri, 01 Jun 2018 17:18:31 +0000
Blueprint

Hello,

I have save points in my game, and I usually override their behavior for testing allowing me to start from any save point by just checking a boolean in their construction script.

The problem is that if I have 2 savepoints checked only 1 will actually work obviously when I load the game.

I’ve tried using get all actors of class in the construction script but obviously it doesnt work since the objects don’t know about each other, is there something anyone would recommend so that if i Check a boolean such as Reset All Save points in the construction script it can communicate to the other ones to be turn off their boolean that would trigger the save point override…?

I made a quick video:

2018 06 01 13 11 17

4 posts - 1 participant