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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Need to create an actor that will take variables from other different actors.

Hi, I am creating a scale in my project. This scale needs to take a text variable from different actors. This text variable from other actors is its "weight". The weight of the actor will be displayed as a text render on the side of the scale. The scale should only take this variable when on the scale (trigger box). How can I use and interface or anything else to create this. (Later going to be implemented into VR)

Product Version: UE 4.18
more ▼

asked Mar 06 '18 at 04:34 PM in Blueprint Scripting

avatar image

3 1 2

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

1 answer: sort voted first

you would want to get the trigger box -> get overlapping actors -> for each -> cast to (insert class type here) -> get variable. this is just one of many ways to accomplish this

there may be a method to use interfaces but im a bit rusty using those so i cant really help there.

more ▼

answered Mar 06 '18 at 04:56 PM

avatar image

10.1k 33 9 23

avatar image whitextea Mar 06 '18 at 05:01 PM

I tried to do this but it was not working... Any other Ideas?

avatar image ThompsonN13 Mar 06 '18 at 05:27 PM

what did you actually do because it should work. if something doesnt work find out why it doesnt work or if something was implemented wrong. i cant tell you how many times someone tried to implement something and made a simple mistake that caused their script to not work.

avatar image whitextea Mar 08 '18 at 05:14 PM

Got it to work thanks. There was a problem with my static meshes collision, even when set to complex as simple it still wasnt simulating physics... Weird.

(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