I have worked through a series of functions in the level BP in order to control, select and separate different lighting groups in my scenario. (BP shown below)
I was wondering if someone could show me a way to control the light intensity using a slider in a widget BP with my existing functions.
Hi,
I do know how to create a widget and slider. However, I’m still struggling with how to reference/link my level BP functions to the widget BP slider and make it work.
Are you able to show me how to do this, please?
Hi,
still not working :(…
Basically I can control the lighting using the mouse wheel (up & down), I know how to set a widget BP, show mouse on the screen, etc
but I just want to use a slider to control the lighting intensity from 0 to (max specified), I still can’t make it work. this is a bit frustrating hahaha.
Maybe I will need to adjust a bit my lighting functions in the level BP.
in which class bp do you store your function changelightintensity cause if it is set in level bp you can not reference it over other BP and you will need to use event dispatchers?
yo,
You simply need to reference your actor somewhere maybe i think you should look at event dispatcher
Create a event dispatcher and send a message from your widget.
in you class where you get the function register you at the event dispatcher and that it is.
====> Other way maybe simpliest solution is to use get all actor of class"whereUgotLightFunction_BP" and call that function when the value change on the widget.