x

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"

Can't tell if an actor is destroyed, because it's destroyed

Hello!

I think I've found a bug: I wanted to check if an actor is destroyed or not in blueprint, but when the actor reaches this state, the editor throws an error, that it couldn't execute this check, because the asked actor is destroyed. To me, this is a bug, because you can work around it by asking if it's destroyed. Even if there is a way to work around it, the "Is Actor Beeing Destroyed"-node is quite useless, because if it would return true, it can't be executed. Will this bug be fixed in the next release?

Product Version: UE 4.10
Tags:
more ▼

asked Dec 24 '15 at 01:38 PM in Bug Reports

avatar image

Janonard
6 2 3 8

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

1 answer: sort voted first

Hello,

Is Actor Being Destroyed is more of a check to tell you if an actor is in the process of being destroyed. This cannot be used to tell if an actor was destroyed. What you'll want to do, is after you destroy the actor, set a boolean variable, something along the lines of ActorWasDestroyed. Then, you can reference this variable later to tell whether or not that particular actor was destroyed.

Have a great day,

Sean Flint

more ▼

answered Dec 24 '15 at 02:17 PM

avatar image

Sean L ♦♦ STAFF
43.5k 485 152 442

(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