Announcement

Collapse
No announcement yet.

Dynamically spawn actor and get/set its mesh and anim blueprint

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

    Dynamically spawn actor and get/set its mesh and anim blueprint

    Hi,

    I would like to get particular actor's mesh and anim blueprint, destroy it and spawn different blueprint actor with mesh and anims from destroyed actor. I have problem with getting and setting anim blueprint. Here is what I have so far:
    Click image for larger version

Name:	ChangeAttackerSkill_1.png
Views:	1
Size:	308.9 KB
ID:	1158409
    Click image for larger version

Name:	ChangeAttackerSkill_2.png
Views:	1
Size:	304.9 KB
ID:	1158410

    #2
    Sounds like another golem creation...

    Destroy does just what it says, although that may not be your issue. Have you tried it with bypassing that Destroy Actor node? I'm just trying to see if the code after the Destroy Actor would actually execute. Also, your GET array node has an Index of 0, meaning it is only doing the first one it comes to.

    Comment


      #3
      Originally posted by Yggdrasil View Post
      Sounds like another golem creation...

      Destroy does just what it says, although that may not be your issue. Have you tried it with bypassing that Destroy Actor node? I'm just trying to see if the code after the Destroy Actor would actually execute. Also, your GET array node has an Index of 0, meaning it is only doing the first one it comes to.
      Its not another golem creation. Its by far easier. Actor spawns without any problems (I mean node after destroy works well). Destroy also works well. Get with 0 index is intentional. I want to test it for one char (actor) first. The only problem here is I dont know how to get and set anim blueprint for actor

      Comment

      Working...
      X