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"

Detect if class blueprint is hit?

Hi, all! I want to detect if the character bumps into a specific class blueprint, in this case objects that are sitting around in the level. I got it working with tags, but I have to manually put tags in all of them and it returns an error after I finish playing:

alt text

I also tried this a few other ways that seem closer to what I want, but don't work at all:

alt text

Thanks.

Product Version: Not Selected
Tags:
01.png (84.2 kB)
02.png (186.4 kB)
more ▼

asked Mar 04 '15 at 01:02 AM in Blueprint Scripting

avatar image

Snow
144 14 26 30

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

2 answers: sort voted first

Hi Snow,

Can you try connection the "other" from the Hit node to a Cast as "duck_4" node and see if this yields the result you want ?

It should look something like this :

Hope this helps

  • Marc

alt text

more ▼

answered Mar 04 '15 at 02:18 AM

avatar image

MarcAndreG
710 27 12 40

avatar image Snow Mar 04 '15 at 03:52 PM

Thanks, Marc! That seems to work perfectly :D

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

You seem to placing nodes in Construction Script. Construction Script should be use only for premature initiation of object (which also effect editor), nodes can behave strange there, try placing those nodes in normal graph

more ▼

answered Mar 04 '15 at 01:06 AM

avatar image

Shadowriver
35.9k 928 169 1105

avatar image Snow Mar 04 '15 at 01:10 AM

It's all in the event graph, not sure why it mentions the construction script in the error message.

(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