Announcement

Collapse
No announcement yet.

Got some problems with Destroy Actor.

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

    Got some problems with Destroy Actor.

    Hello people ....

    I have some bad problems with my Blueprint.
    Click image for larger version

Name:	2.JPG
Views:	1
Size:	118.0 KB
ID:	1165083

    So if I equip an Item it spawns an actor this will get attached to the right hand socket.

    An tick function will check if its still equiped if not it should destroy the actor. But it don't want to get destroyed...

    Hope someone can help.....
    Cheers!
    Unreal Developer since Unreal Engine 3

    #2
    I can't see what actor this pic is in and the pic's a smidge small for me to squint my way through each node but I think it's likely the fact you are attaching to an actor and THAT actor can only destroy the attached actor anymore...Super silly I know...but you'll likely have to create a function that you call from this actor to tell the Parent actor to destroy the newly attached actor...

    there may be other ideas as well (it's just the first to pop in my head) check around the forums and answerhub to see how everyone else is getting around the attached actor destroy thingy.....

    Streams: www.Twitch.tv/BlinkTheory
    Patreon: www.Patreon.com/BlinkTheory

    Comment


      #3
      Really weird sorry for the small image .... So basicly the actor should self destroy? ... Ill try that out...


      Edit: I finaly resolved it with some tricks.

      I made an tick sequence that looks if the item is equipt if not destroy self ... ( everything inside the actor that got spawned )
      With some debug I know I failed with a bool so basicly everything is fine now

      Still thanks for help!

      Cheers!
      Last edited by BanderDev; 10-16-2015, 03:04 AM.
      Unreal Developer since Unreal Engine 3

      Comment


        #4
        Originally posted by CLBander View Post
        Really weird sorry for the small image .... So basicly the actor should self destroy? ... Ill try that out...


        Edit: Actor won't destroy itself .... thats really weird ........ I dont understand that
        The Parent actor has to destroy it...Whatever you are attaching to is the only one that can destroy that actor...(this is all assuming that's not how it was set up to begin with)...

        Streams: www.Twitch.tv/BlinkTheory
        Patreon: www.Patreon.com/BlinkTheory

        Comment

        Working...
        X