Announcement

Collapse
No announcement yet.

Setting Light Visibility from Level Blueprint

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Setting Light Visibility from Level Blueprint

    Ok, I have a Blueprint class with just a light in it called "BP_FillNightLight". It has a float variable in it called "FillLight". When this variable is above 1, the light turns on, when it is lower than one, it turns off. Screen shot of this connection is below.

    What I want to happen is the "FillLight" variable to by set by a float variable in my Level Blueprint. Basically I have a float on my level blueprint that I want to connect to my "BP_FillNightLight"'s FillLight variable. But I'm not sure how to make that connection work. Dragging a node off my Level Blueprint float variable does not find my "FillLight" variable in the search. It's as if my FillLight is not set to public, but it is. Any suggestions how to connect a Level Blueprint to "Set" my FillLight variable?

    Thanks!
    Click image for larger version

Name:	UE4_FillLight.jpg
Views:	1
Size:	193.8 KB
ID:	1147846
    Eldridge Felder

    Animation/Visualization Manager
    WorthGroup Architects

    #2
    You can cast to your FillNightLight BP and set the variable that way

    Comment


      #3
      Yep, that works. Thanks!
      Eldridge Felder

      Animation/Visualization Manager
      WorthGroup Architects

      Comment

      Working...
      X