Announcement

Collapse
No announcement yet.

Actor reference variable in child

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

    Actor reference variable in child

    Hello! Can anyone please tell me why I can't assign an actor variable in child class? I would like to have the reference of one child in another. The variable called "case". It sais "editing in class default is not allowed" But how the hell I can assign another one like boolean!? I know how to connect them another way for my purpose, but I really wanna know why this method(the clearest) is not working

    #2
    Because its looking for an actor in the level.If you place both actors in level you should be able to make it your child actor also make sure variable is set to editable.

    Comment


      #3
      Originally posted by onimike View Post
      Because its looking for an actor in the level.If you place both actors in level you should be able to make it your child actor also make sure variable is set to editable.
      It's not works either variable is set to "actor component" or "child actor component". And yes, it set to editable.

      Comment


        #4
        Get Child Actor maybe ?
        Attached Files

        Comment


          #5
          Originally posted by jaspos View Post
          Get Child Actor maybe ?
          Yeah this is exactly "another way" I mentioned. But I just wanted to know why the simpliest doesn't work.

          Comment

          Working...
          X