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"

Why does my bool not return false?

I have a public bool set to true by default. I have an overlap event setup which checks overlap between the Player and an AI actor. The bool is stored in a pickup actor. So within my AI actor I have an overlap event which detects when the Player overlaps. I have a overlap check between the AI actor and the Player which works fine. I print the bool return value to the screen after the overlap event ticks. Basically when the bool is true it prints true (correct), here is the issue, when my bool is set to false within a different BP (remember the bool is public), instead of printing false it simply does not print anything to the screen... any ideas?


Product Version: UE 4.16
more ▼

asked Jul 18 '17 at 12:18 AM in Blueprint Scripting

avatar image

15 13 17 19

avatar image Shadowriver Jul 18 '17 at 12:49 AM

You sure you setting right in object? open console (Window->Development Tool->Output Log) and type in "displayall NameOfBlueprint_C NameOfVarable" and you will see all instances of that varbale in all objects that exist

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

0 answers: sort voted first
Be the first one to answer this question
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