And a side note, I know i can do this in the World Outliner, but if I have 300 lights, that isn’t really efficient.
And a side note, I know i can do this in the World Outliner, but if I have 300 lights, that isn’t really efficient.
Hi all! I have kinda a weird question. Is there a way to make a light controller that would control multiple lights in a scene in viewport, not in play mode.
I’m trying to make a set design tool that will allow a art director the ability to control light intensity in a Level. Basically the way it would work on a real set.
If I have 10 points and I want to setup this:
A control that would turn all lights off
A control that I can change the color of all the lights
Some kind of control where i can turn some lights on and some off.
Is this even possible?
Thanks for any help!
Yes, you can.
You can either make an editor utility widget, or just a blueprint actor that you drop in the scene. You can do a GetAllActorsOfClass to manipulate them. If you want to segregate, you can put tags on the lights to say which bank they’re in, for instance.
All of that makes total sense! But I’m not that versed in Blueprints to understand how to implement that. Could you explain with a bit more detail or just how the event graph would be with tags, i’ have used those. I was looking at the variant manager and it looks like that might work too.
Thanks for any help!
So I made a BP like this and plopped it ine scene:
I put in 3 point lights, and gave them all tag ‘0’, and then one got tag ‘1’ and the other two got tag ‘2’.
You set the tags here:
Thanks for that! I hate to ask, but I can’t see any of the nodes in those images because they are to lo-res. Could you possibly post some higher res ones?
Click the link:
Thanks! I don’t think my last comment posted…how did you setup your Custom Event? i haven’t used those at all, and saw that the one you made had a function and gear on it. Thanks again for all the help!
No worries. Setup the custom event, with it selected, in the details tick ‘call in editor’.