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 do i connect in to the Object node in Cast to?

alt text

This is my Character Blueprint and it's working good. When i look the Switch (InterruptorBP) and click it activate the On/Off Event Luz 1. alt text

My problem start here. In this event i want to call the Lamp Blueprint (Luz Techo) to "Set intensity" of his pointlight but i don't know what do i have to connect in "Object"

Product Version: UE 4.9
Tags:
sin título.png (121.8 kB)
2.png (132.4 kB)
more ▼

asked Dec 27 '15 at 07:37 PM in Blueprint Scripting

avatar image

Pelucrecio
6 2 4 6

(comments are locked)
10|2000 characters needed characters left

2 answers: sort voted first

YOu have to cast the specific BP switch actor. So if you have several of these switches in your level, then you have to get the one that the character is hitting and input that into the object of the cast node.

more ▼

answered Dec 27 '15 at 08:58 PM

avatar image

SterlingY
205 25 32 48

avatar image Pelucrecio Dec 27 '15 at 09:55 PM

I prefer to avoid talking about it because I can not solve. I used " Cast To" with "Begin Overlap" a lot of times and I had no problem because this gives the connection to "Object". Is there another way to do this without using a custom event ? :/

avatar image SterlingY Dec 27 '15 at 10:54 PM

Is that a custom event that is firing the castTo node?

avatar image Pelucrecio Dec 27 '15 at 11:45 PM

Yes, It's.

(comments are locked)
10|2000 characters needed characters left

Then pass the object with the event call node. You can then connect to the object input on the CastTo node.

more ▼

answered Dec 28 '15 at 12:01 AM

avatar image

SterlingY
205 25 32 48

(comments are locked)
10|2000 characters needed characters left
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