From what I understand, local variables start with a "." and I only use those in the quest files. The main script has the _met variables that control the icons in the map and whether or not they should be greyed out by comparing the quest and maxquest variables, which are also not local.
If I'm remembering correctly.