How can I call a function or update a variable in the main ABP from a linked ABP?

Pretty much the title. Is it possible to call a function or update a variable in my main ABP from a linked ABP? If so, how can I do that? Thank you!

Yes, you can update variable from a linked anim graph by setting the desired variable as “editable.” All editable variables will appear in the right side panel:

You can activate “Propagate notifies to linked instances” to send function requests to the linked anim graph. Make sure to check the correspondent “Receive Notifies” inside it.

Hi @L.F.A thank you for the reply! I think I may have not explained it well enough. I’d like the Linked Anim Graph to update a variable in the main ABP, not the ABP update a variable in the Linked Anim Graph. Ideally I’d also like to do this with Linked Anim Layers instead of Graphs. Thank you!

Hey, no problem, notifies work both ways, so you can update variables and call functions inside the main graph from a linked graph / linked layers using state notifies. It seems you cannot modify variables directly without the notifies.

I created a state notify in the linked anim graph that is visible inside the parent anim graph.


No, it seems you can’t send notifies from the main graph to the linked layer. At least, I haven’t seen this setup before. Apparently, linked layers have the same functionality of linked graphs.

Setting a state notify inside a layer make it visible inside the main anim bp. But it’s worth a try.