How can I set references inside a blueprint itself and not a blueprint instance already present in the level?

Hey, I’m trying to teleport several characters to locations embedded in a blueprint.

It works as expected when the BP that the characters are being summoned to is already spawned in the level and the references to the characters already set.

The issue arises when I spawn a new instance of the ‘summon to’ BP, all of the character references disappear.

I’ve tried to set the character references in the ‘summon to’ BP itself (not the instance in the level) however they’re greyed out with the note: " editing this value in a class default object is not allowed".

Any ideas how I can reference the characters at the blueprint level and not the ‘level instance’?

Thanks,
Miley.

Try get all actors of class and then use for each loop to get ref to each of them

Thanks for the reply, I’m not sure this will work as the teleport node requires an object reference as opposed to a class reference. Any ideas how to overcome this?

Have a look, it works pretty simple, after for each loop you will have a reference to any object of this class

Perhaps holding the references in a class that is doing the spawning might help you avoid having to update and duplicate stuff.

Perfect, thanks for the help, this worked like a charm. At first it wasn’t working because I didn’t specify the character within the variable after compiling… Once I realised my mistake everything worked. Thanks again!

Thanks for the suggestion, ended up going with the above solution but thanks anyway.