Blueprints Communication : Making Blueprints to share variables with each other.
As a beginner in Blueprint scripting, working with blueprints sometimes becomes very frustrating in certain situations when we try to access a variable defined in some other Blueprint. When we talk about Blueprints Communication, we need to follow certain steps to do it easily and effectively. Let us first understand the goal of this post that we will be going to achieve eventually in certain steps.
Blueprints Communication for sharing variables
Lets say we have created two Blueprints in our project. There is a variable that we have defined in our first Blueprint. Later there is an event happening in second Blueprint which is changing the value of that variable in our first Blueprint. To do this, we can not get direct access to make changes in variable. We will create object of the Blueprints and then use it to get/set variables present in each other. We will be using Character Blueprint as a medium for communication between our two Blueprints. We will also be learning about common mistakes that you can make as a beginner . Lets start it and follow these steps :