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"

I have no idea why i'm getting this error, i don't see anything wrong

alt text i am a beginner and i'm trying to make my own project but i came across this error and i don't know whats wrong, if someone would help that would be amazing

Product Version: UE 4.20
Tags:
screenshot-5.png (176.5 kB)
more ▼

asked Feb 01 '19 at 01:17 AM in Blueprint Scripting

avatar image

Sprayingbore3
1 1

avatar image HauntedPringle Feb 01 '19 at 01:27 AM

i think it means that your cast to destroy the simple ai is failing to read the simple ai because it's already destroyed, i have no idea how to fix it though.

avatar image HauntedPringle Feb 01 '19 at 01:28 AM

if you double click the underlined sections of the message it should open up the source of the error which might help

avatar image mrteuy Feb 01 '19 at 11:02 PM

More than likely, the magic projectile isn't valid on the cast. Just hook up a print text or something to the cast failed to test that theory.

(comments are locked)
10|2000 characters needed characters left

2 answers: sort voted first

Make sure you aren't destroying Magic_projectile anywhere else before you destroy it here. What the error trying to tell is that the actor DestroyActor function is supposed to destroy doesnt exist.

more ▼

answered Feb 01 '19 at 01:23 AM

avatar image

Jacky
16.6k 671 163 673

(comments are locked)
10|2000 characters needed characters left

you last If cause the problem

when the if is not reaching 0, you are killing the magic projectile. but when it is you are killing the current actor and again the magic projectile. the second time should be checked. use ?isvalid before killing the magic projectile so when the if execute true node ensure the object exist.

more ▼

answered Feb 01 '19 at 09:53 AM

avatar image

plangton
342 17 19 31

(comments are locked)
10|2000 characters needed characters left
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