You can use GetAllActorsOfClass
If there are few actors like this, you can filter them by Tag or name.
You can use GetAllActorsOfClass
If there are few actors like this, you can filter them by Tag or name.
Hey guys,
I think this is a pretty simple one . Just want to know how to find an actor (of “XType”) in the scene and assign it at runtime.
Basically I want it to be
Event BeginPlay → FindActorOfType(XType)->SetVariable… etc
There will only be 1 of this actor type in the scene at any time so I don’t need to get an array of them
if that makes sense
I have come from a background Unity development so still getting used to Unreal.
Cheers!