Announcement

Collapse
No announcement yet.

Destroy component don't work

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

  • replied
    I'm in 4.10 and I can't use Actor's Destroy Component node, it's deprecated and hided in blueprint.

    The correct node to use should be Component's Destroy Component, so you could save the return value of Static Mesh Component as a variable;

    Then, when you need to destroy it, use that variable and drag off Destroy Component from it.

    Note that you can only call this node "inside" the Component's owner Actor, since you can't assign an Actor to that node and the default value is the owner.

    Screenshot like this:

    Click image for larger version

Name:	destroy_component_inside_actor.PNG
Views:	1
Size:	27.9 KB
ID:	1096985

    Leave a comment:


  • replied
    Help please ;(

    Leave a comment:


  • replied
    It show me a converter and do me this when i try to link player character to destroy component.

    Click image for larger version

Name:	bdc63990f2674d79eba7906abd6d106c.png
Views:	1
Size:	154.3 KB
ID:	1080595

    Leave a comment:


  • replied
    What happens if you hook up the getPlayerCharacter node to the target input for the delete component node?

    Leave a comment:


  • replied
    Up ? Any ideas ?

    Leave a comment:


  • replied
    Don't understand what you want to say. Can you make a exemple ?

    Leave a comment:


  • replied
    Do a cast to to actor and then get the component to destroy from that

    Leave a comment:


  • started a topic Destroy component don't work

    Destroy component don't work

    Hi guy's, i have tried this :

    Click image for larger version

Name:	25be05aa9398368f63ca22f4e9aaaa6e.png
Views:	1
Size:	158.7 KB
ID:	1152100

    And the destroy component don't work when i press N.

    Any idea ?
Working...
X