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"

AnswerHub Maintenance

Background maintenance is scheduled to occur between 9 - 11am EDT on Tuesday, May 21. Site operation may be slower than normal during this time and a brief interruption in operation may be observed

Toggle Visibility Not Available Under Rendering

I'm trying to follow along with this video: https://www.youtube.com/watch?v=9kzbsH8HgVY#t=58

At 0:58, the demonstrator has a PointLight selected, right-clicks on an empty space in the blueprint editor, and selects "Toggle Visibility" under "Call Function on PointLight3 --> Rendering" ... see screenshot below:

alt text

OK, so when I try this, I have the PointLight selected, I'm in the Level Blueprint, but when I right-click and expand "Call Function on PointLight3 --> Rendering", all I get is "Set Actor Hidden in Game"... see screenshot below:

(OK, when I tried to upload a screenshot, I got the error "No such upload" ????) Trust me, though, it's not there.

Now, granted, I can un-check "Context Sensitive" and find it... and I can manually add a reference to my PointLight and then wire up the PointLight to the "Target" socket in the "ToggleVisibility" function... but then I get this odd behavior where it creates:

  1. A PointLight reference to the PointLight3 object in the level

  2. An odd "Target LightComponent" middle box that says "Read the value of variable LightComponent LightComponent"

  3. The "ToggleVisibility" function then has an Error that says "Error This blueprint (self) is not a SceneComponent, therefore 'Target' must have a connection."

Can anyone explain what is going on???

Product Version: Not Selected
Tags:
menu_in_video.png (359.7 kB)
more ▼

asked Dec 07 '14 at 05:09 AM in Blueprint Scripting

avatar image

Tulrath
153 16 18 34

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

1 answer: sort voted first

Hi Tulrath,

Blueprints have changed a bit since that tutorial was created. The way to do this now would be to add a Reference node to the PointLight, then drag off of this Reference and type Toggle Visibility. That will give you the node you're looking for.

You will see slight changes and improvements like this from time to time. They are generally made to help with the stability of blueprints, especially when upgrading a project to a different version of the editor.

Cheers,

TJ

more ▼

answered Dec 09 '14 at 09:25 PM

avatar image

TJ V ♦♦ STAFF
41.1k 1009 183 493

(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