The code from this BHAV, from disasim or something similar
This Global BHAV does this
This is how you use the global BHAV
Where you can see this in the game
{{GlobalBHAV |name= |instance= |expansion= }}