Announcement

Collapse
No announcement yet.

Can't get reference to actor.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • replied
    Thanks, Nofear169 for your recent comment. I believe I just encountered yet another way to experience confusion when trying to "create a reference to an actor". I resolved my issue by reopening the level BP with the actor in question selected. I think the first time I opened the level BP, my desired actor was not selected. It seems like the level BP should allow you to create references to any actors within the level regardless of which actor is selected. Pretty basic functionality, it seems.

    Leave a comment:


  • replied
    I had the same problem. That being, I was unable to reference an actor in my level BP. I know this dude asked this years ago, but the question could come up again for some one else and this page is still high on the google results page for "UE4 blueprint can't reference actor". My problem was that I am running multiple levels at once in the levels tab. I am trying to edit the BP for a level that is not the persistent level. I hid the persistent level and all other levels except the one I am working on. When I select an actor I cannot reference it in the blue print. Very frustrating. Here was my problem. Even though I hid the persistent level and am editing a different level, when I select level blueprint I am view the persistent levels BP. Inorder to edit the other level's level BP you have to choose the option under edit level blueprint, which is edit sublevels. Once I opened the sublevel's BP everything was fine. Just thought I would share in case it came up for some one else.

    Leave a comment:


  • replied
    HI, Have you checked "context sensitive" after right click in the graph ???

    Leave a comment:


  • replied
    I went ahead and created them in the level bp , had 6 sliding doors so I repeated the process 5 times.

    Leave a comment:


  • replied
    Am I using the wrong node or something?

    Leave a comment:


  • replied
    Ok thanks.

    Meanwhile I created a new one using pretty much the same bp for a rotating door.

    Now I need my door to slide. I got it to work but the problem is that after I active the anim it resets to 0.0.0 location and also rescales to imported value.

    How can I make this work properly?

    Click image for larger version

Name:	db47897714.png
Views:	1
Size:	357.3 KB
ID:	1064451

    This is the rotating one which works just fine.

    Click image for larger version

Name:	6f2aec2960.png
Views:	1
Size:	347.1 KB
ID:	1064452

    Leave a comment:


  • replied
    Originally posted by Fen View Post
    The reference for an actor in a level in the selection box is for the level blueprint only not for every blueprint. You have access to level blueprint by clicking blueprints / open level blueprint at top of the editor. To create more blueprints, click on create in the content browser. And keep time to discover : https://docs.unrealengine.com/latest...ine/index.html

    Edit : To set a blueprint in a level : drag it from content browser directly in level viewport.
    As said here, you can't have a reference directly like that in another blueprint. You have or to create a variable reference or get all actors.

    Edit : Here is a link with infos : https://docs.unrealengine.com/latest...mms/index.html

    Leave a comment:


  • replied
    It works in the level blueprint... I need it in my door blueprint not in the level bp. I think so atleast ..

    Leave a comment:


  • replied
    Originally posted by Fen View Post
    If you : open the project / open your level blueprint / Click on an actor set in the level to select it / right click in level blueprint and you don't see "create a reference of "the actor at top of your selection box and other related possibilities, you have an issue with your engine. Do a verify. If there is one thing you did not, this is that.
    Did you try this ? Did you follow the tutorial : It shows how select the actor in level, open level blueprint and add selected actor from level in level blueprint.

    Leave a comment:


  • replied
    The problem is that I am not seeing my door bluepring graph or components when I open the level bp.

    Leave a comment:


  • replied
    The reference for an actor in a level in the selection box is for the level blueprint only not for every blueprint. You have access to level blueprint by clicking blueprints / open level blueprint at top of the editor. To create more blueprints, click on create in the content browser. And keep time to discover : https://docs.unrealengine.com/latest...ine/index.html

    Edit : To set a blueprint in a level : drag it from content browser directly in level viewport.
    Last edited by Fen; 12-23-2014, 05:31 AM.

    Leave a comment:


  • replied
    I created the bp from mesh in CB : right click > create bp using...

    How can I get it to level bp ? What if I have want to have more BPs ?

    Leave a comment:


  • replied
    If you : open the project / open your level blueprint / Click on an actor set in the level to select it / right click in level blueprint and you don't see "create a reference of "the actor at top of your selection box and other related possibilities, you have an issue with your engine. Do a verify. If there is one thing you did not, this is that.

    Leave a comment:


  • replied
    Hey, I have tried that, doesn't work.

    Leave a comment:


  • replied
    Hello,
    You need to select the actor in the level to have its reference.

    Leave a comment:

Working...
X