Yes! Thank you Ramon! Exactly what I was looking for!
Thank you all for your inputs. Maybe I didn’t explain the complexity of the problem, but that was just an example. I got various trade-relationships between my BPs and I was looking for a more abstract solution, something I can generalize regardless of actual values. I’ve tried using endless bools but the logic is flawed and breaks down in certain situations, for instance:
First call: A1 has 4 units, A2 requests 12 => A2 will get only 4, A1 will be left with 0 >>
Second call: A1 has 6 units, A2 requests only 8 [12-4], receives only 6 and A1 is left with 0 again…
…And so on.
It’s for a worker allocation pool where the manager BP holds/receives the workers and various other BPs calls a request for them…It’s dynamics based on other mechanics which means that values in the manager can change at any time, and requests keep calling until they get satisfied, after which they are handled.
Thank you all!