Thanks a lot.
So this would explain why for example the Phantom X mod has access to the ArmyBrains global variable, because it is not a UI mod?
Because I guess if I UI mod would have access to ArmyBrains it could influence the game simulation.
In the end what I am trying to do work out, is how to fix Hussars Scoreboard Kill notification.
What broke the kill notification is basically this change in the FA Core.
Earlier the DoGameResult would receive also the score results, after the change it is only the defeat.
So the Scoreboard UI mod does not know anymore who performed a kill, it only knows an ACU was defeated, hence it always shows that a ctrl+k happened.
So I wondered how I could get access to the kills information. This is why I wanted to read out the Armybrains, because it seems this info could be extracted from there.