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"

What is Component Property? (Cable)

The Set Attach End To function description says that it attaches it to a specific Component within an Actor:

https://api.unrealengine.com/INT/BlueprintAPI/Cable/SetAttachEndTo/index.html

... But how to specify this component? I've tried to type in name of component in the Component Property field, but that doesn't work.

Product Version: UE 4.21
Tags:
more ▼

asked Feb 24 '19 at 11:46 PM in Blueprint Scripting

avatar image

Slavq
2k 157 153 208

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

1 answer: sort voted first

It does work, can you show an example where it does not:

alt text

capture.png (548.8 kB)
more ▼

answered Feb 25 '19 at 08:04 AM

avatar image

Everynone
14.8k 77 25 62

avatar image Slavq Feb 25 '19 at 10:34 AM

I'm not on my PC right now, but I tried to attach it to another (external) actor. So e.g. in blueprint A have Cable Component, call SetAttachEndTo with Actor == blueprint B reference, and Component Property == name of component inside blueprint B. It was a Capsule Collision in my case. I'll try to reproduce this when I'm back, thanks!

avatar image Everynone Feb 25 '19 at 09:31 PM

call SetAttachEndTo with Actor == blueprint B reference, and Component Property == name of component inside blueprint B

Should work as you described. Providing the Target on the node is the cable component and Actor is the actor owning a component we're attaching the cable's end to.

avatar image Slavq Feb 25 '19 at 09:41 PM

Ok, I've tried to reproduce this and now it worked correctly. No idea why it didn't work then, maybe some of my other scripts were interfering... So, false alarm, it all works correctly. Thank you for checking that!

(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