Hi, im using 3rd person template. I have created a Blueprint with a box in it, and then added custom event which will rorate my box. my question is, how can i call this custom event which i created in the box blueprint from MyCharacter blueprint(blueprint of the player), for example when i hit G key …
Here are a few references you can use to decide which blueprint communication is best for you. You are probably going to want to Cast to your box from your character, but it depends on what you are doing.
https://docs.unrealengine.com/latest/INT/Engine/Blueprints/UserGuide/BlueprintComms/index.html
https://docs.unrealengine.com/latest/INT/Engine/Blueprints/UserGuide/Types/Interface/index.html
I found that by using 4.9’s “Construct Object from Class” node, you can then trigger a Custom Event defined in that class. See: http://jevon.org/wiki/Saving_and_Loading_UE4_Data_with_Blueprints
For example, triggering “Save The Game!” event within a “SaveGameBlueprint” external blueprint from a “FirstPersonCharacter” blueprint: