# How to change BB value outside its Bh tree

**URL:** <https://forums.unrealengine.com/t/how-to-change-bb-value-outside-its-bh-tree/454730>\
**Category:** AI\
**Tags:** communication, Behavior-Tree, blackboard, unreal-engine, UE4, question\
**Created:** [September 1, 2019, 9:36pm UTC](https://forums.unrealengine.com/t/how-to-change-bb-value-outside-its-bh-tree/454730 "2019-09-01T21:36:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![JeyAr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JeyAr](https://forums.unrealengine.com/u/JeyAr)\
**Post date:** [September 1, 2019, 9:36pm UTC](https://forums.unrealengine.com/t/how-to-change-bb-value-outside-its-bh-tree/454730/1 "2019-09-01T21:36:07Z")

</div>

How to change BB value outside its Bh tree

I am writing a multi agent system and I need agents to communicate with each other. I need to force one agent to wait for another agent, who requests communication with the first one. I suppose that each agent needs to affect BB values of the other ones, in order to interrupt their current Bh tree branch, so they will run a branch for waiting and chatting (via a proper decorator). I´ve tried to change BB values within a function written in the receiver´s blueprint, called from the sender´s task, but although the task ends successfully, no BB values are changed. Can someone recommend some neaty method for this?

I am a beginner so I am thankful for any help!
