UE4 Actor Blueprint – Referencing another Actor instance

Software:
Unreal Engine 4.18

A direct reference to another actor instance can’t be created from within the blueprint because it can only be provided at run-time after the instances have been created, both the current actor and the other actor we want to refer to.

In the Actor Blueprint:

  1. Add a new variable of type Actor > Object Reference
  2. Make the variable public and editable in the editor (the eye button..)
  3. Hit Compile and Save.

In the Map Editor:

  1. Place both actors in the map and save it.
  2. Select the actor in which you created the reference variable.
  3. In the Details panel, set the Actor property you created to the wanted other Actor instance.

Untitled-7.jpg

Untitled-7.jpg

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s