rosentorf 12 Posted October 13, 2012 Hi there, I got myself in a pretty ambitious project and therefore I plunged into the infinite depth of scripting and editing. But I feel it is necessary to know more about configs as it seems to me that there is performance and scripting ease to gain. So this post is to get more information on the subject. Sorry if this has been discussed too many times...but here goes: 1) I understand that I can use configs to create classes. Are those like variables with additional variabes in their namespace? 2) How do I create configs and use them in my scripts? I have unpboed some stuff and I have looked around google and the forum and the BIS-community-wiki. Usually I just need a easy to grasp starting point to get some of the information that seems a bit cryptic to me. Thanks in advance! rosentorf Share this post Link to post Share on other sites
Deadfast 43 Posted October 15, 2012 Configs are used for static data storage. They do have "classes", but for all intents and purposes they are just categories. Arma's scripting is not object-oriented. The extent of what you can do with configs within a script is read them (using getText, getArray and getNumber). This can come in handy if you need to assign a static property to a certain object type. For instance you could read a vehicle's displayName which would give you the user-friendly name the vehicle has. Or you could add your own property and then read it from the script, for example price. Share this post Link to post Share on other sites
rosentorf 12 Posted October 20, 2012 Great, just what I needed. Sometimes it just needs a little bit of help to get going. Especially the script commands will help me. Thank you! Share this post Link to post Share on other sites