Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Destroy Actors through blueprints

I was wonder how I can destroy a light actor in the scene when I picked an object?

Product Version: Not Selected
more ▼

asked Mar 02 '15 at 08:40 AM in Blueprint Scripting

avatar image

5 7 11 14

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first


Have you tried using a node DestroyActor? If I correctly understood the essence of your question, you need to activate the node DestroyActor by event. Event you can get through the trigger volume or any other way you like..

alt text

Design features will depend on whether you do it in a separate blueprints or LevelBlueprint. You will also be needs some knowledge about Blueprint Interface and Blueprint Communications

Keep me informed of your progress

destroyactor.png (26.3 kB)
more ▼

answered Mar 02 '15 at 09:12 AM

avatar image

119 6 5 9

avatar image Lathost Mar 04 '15 at 02:03 PM

Okay. But that is for box triggering. what I want is for the light to be destroyed when I pick up that little keycard that I have in my scene?

avatar image LimasseFive Mar 04 '15 at 02:12 PM

Hi, Simply ask to the light to destroy it-self when picking up the card. It can be the card asking the light or the player asking when pickin up... depends on your needs There are several way to send event through Blueprint: https://docs.unrealengine.com/latest/INT/Engine/Blueprints/UserGuide/BlueprintCommsUsage/index.html

avatar image Dredfort Mar 04 '15 at 02:41 PM

As said LimasseFive, you must use Blueprint Interfaces. How To Use Blueprint Communications you can see hear. Examine the above information. If you do not get to realize that you wanted to do, I will try to explain in more detail how this works.

avatar image Lathost Mar 05 '15 at 11:15 AM

I would like if you could explain this in more detail.

avatar image Dredfort Mar 05 '15 at 01:40 PM

This problem could be solved in a simpler way, but this solution is more flexible and allow you to modify as needed.

PickUpInterface contains a function Action_PickUP!

BP_PickupObject contains a variable Target. Putting the blueprints to a level in his Details I choose Target => BP_PointLight.

BP_PointLight comprises a light source. Also located on the level. Also in ClassSettings necessary to implement the interface PickUpInterface.

When BP_PickupObject event fires then through Action_PickUP! (Message) in BP_PointLight triggered Event Action_PickUP!

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question