TempGroup is a unit group variable.
About the ally priorities, what do you mean the panel can't be re-enabled?
Well, i activated all the options in the ally properties menu, but the panel's still disabled
and well, i can't find that variable lol...