How can I access a behaviour tree shared variable from another script?

Ugur Tuna

New member
Hi, I am trying to build a potion system for my game. But i want to keep my potion effects in an effect list and change variables at the behavior tree, based on theese effects. But i couldn't access theese variables from another script. Question.pngIn this example, a preserve stamina potion should lower the decrase value of stamina.
 
Last edited:
Top