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!