Get CheckBoxes State from another BP
Hi, I'm new here so please remind me if I did anything wrong. To keep it short: I have 2 BP. The first BP contains a checkbox which I want to see it's state on the second BP. What I want to know is.. How can I use the "Get Checked State" (in the second BP) of the checkbox (which is located in the first BP) so that I can use the checked/unchecked state. I have been reading about "Global Variables" and bla bla but it just like.. I don't know what they are talking about. I'm new here so please show it step-by-step or even with a pictures :)
asked May 28 '16 at 03:22 PM in Blueprint Scripting
To acces to antoher blueprint you'll need to use [cast to «your blueprint»] or [get all actor of class]. They are both easy to use, sometime the [cast to «BP»] can be more complicated because you need to reference it to an object.
The Cast will acces to your playerCharacter/playerController/playerStats and other
The Get actor will search an actor in the level, so if you have many actor you'll need to find the good one, everything is in the doc :).
Doc about casting => https://docs.unrealengine.com/latest/INT/Engine/Blueprints/UserGuide/CastNodes/
doc about get all actor of class => https://docs.unrealengine.com/latest/INT/Gameplay/HowTo/FindingActors/Blueprints/
have a good day!
answered May 28 '16 at 04:42 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here