Announcement

Collapse
No announcement yet.

Having difficulties.

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

    Having difficulties.

    Hi everyone.I'm new to UE4 and I'm learning from the youtube tutorials but they are for older version.So my problem is.In one of the tutorials about toggling a light with blueprint,the way that is shown there I cannot use it.First of all I can't make a PointLight reference.I can make a reference to the whole Ceiling_Light blueprint.Second when I add Trigger Volume I can't add events for it in the same event graph as in the reference.It seems that I add a reference in one graph and event in the other I can't combine them.Click image for larger version

Name:	Untitled.png
Views:	1
Size:	615.3 KB
ID:	1170200 As you can see in the picture where I have the PointLight reference I can't add TriggerVolume reference even though it's selected.Click image for larger version

Name:	1.png
Views:	1
Size:	517.1 KB
ID:	1170201 And in this picture you can see that I have selected the PointLight only not the whole ceiling light and I can't add a reference.I really hope this information will be enough.Thanks in advance.If there is something that I haven't said clearly please feel free to tell me.

    #2
    You can access your PointLight through the Blueprint_CeilingLight reference, since its a member of that Actor you can change its values through that reference.
    Im an Moderator on UnrealSlackers Discord! Which is a Community driven group of likeminded people here to discuss UE4! Join UnrealSlackers on Discord!

    Comment


      #3
      Yeah because you have a blueprint there you need to drag off your reference to the blueprint and then call the light from there. You can then set that as a variable and call it directly in other parts of your blueprint without the cast if you want.

      Comment


        #4
        Okay but the trigger box is still not working,like it won't light up.In the tutorial the light bulb switches on in my case it doesn't. Click image for larger version

Name:	2.png
Views:	1
Size:	624.4 KB
ID:	1098695 When I try to enter the trigger box range it just doesn't light up.

        Comment

        Working...
        X