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"

BreakPoint not triggering?

So i have an unusual issue here. The following code runs normally and when both "actors to shoot from" and "attackably characters" are populated, the program outputs "test" as demonstrated and expected.

The issue however is the breakpoint on the "print string" node doesnt trigger, and nor do any other breakpoints in random sections of the code. The first for each loop stops on its breakpoint and so does everything after it completes.

alt text

alt text

Product Version: UE 4.12
Tags:
more ▼

asked Jul 08 '16 at 02:33 PM in Blueprint Scripting

avatar image

RedWolfy70
5 2 4 7

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

1 answer: sort voted first

alt textDoes your Debug Filter set to its wanted actor?

asd.png (235.5 kB)
more ▼

answered Jul 08 '16 at 03:03 PM

avatar image

DDemon
478 21 10 25

avatar image RedWolfy70 Jul 08 '16 at 03:10 PM

Currently it does not set to anything and the actor i would be watching is spawned in to the game after it starts?, do i need to add it to the level before it starts for the debugging to work?

avatar image DDemon Jul 08 '16 at 03:24 PM

If your actor is spawned after the Play just set it after the play, by pressing the " ` " button (1 button to the left from "1"), if its not event begin play it should be fine.

avatar image RedWolfy70 Jul 08 '16 at 03:28 PM

Brilliant, that allowed the event to trigger. Thanks!

(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