How do I get my TriggerBox BP to control my LightToggle BP?
I have three BluePrints:
I want my TriggerBox_BP, when triggered by the FirstPersonCharacter, to tell the LightToggle_BP to toggle the point lights.
How do I get my BPs to communicate?
asked Mar 13 '19 at 03:19 PM in Blueprint Scripting
Make a variable of type lighttoggle in the triggerbox BP, click the eye ( to make it visible in the world outliner ).
Then go to the world outliner ( editor ), when you click the triggerbox you'll see the variable in the details panel, you can select the togglelight as the actual instance it's pointing to.
Then, in the triggerbox BP, drag the lighttoggle variable into the BP, you can drag a pin from it and you'll find your 'on' event from the light BP.
That's how you do it...
answered Mar 13 '19 at 03:37 PM
Look at the pics.
Point light just toggles on and off.
Box has a variable of type 'pointlight BP' ( or whatever you have called your BP ).
You need to set the variable from the editor ( in the world view ) otherwise it wont work.
Follow this question
Once you sign in you will be able to subscribe for any updates here