From Bohemia Interactive Community
- BrotherhoodOfHam - c
- Posted on Jan 27, 2015 - 18:08 (UTC)
-
Any global variable defined in a config using __EXEC() will be stored in this namespace.
For example in the description.ext:
The variable "testVar" can be accessed during mission run time using getVariable
The above example would print 1.
This example however:
Would print 0, because adding an underscore will make the variable local to the config in the same way that it would make it local to a script.
See PreProcessor Commands for more details on __EXEC()