Jump to content
Sign in to follow this  
SilentSpike

Returning the magazines array from a weapon class

Recommended Posts

This is my first time messing with config files via script (unless you count paramsArray) and I'm trying to get an array of supported magazines for a weapon of which I have only the classname (I apologize if I'm getting my terminology all wrong here). Here's an example of a path I might try and get the data from:

configfile >> "CfgWeapons" >> "arifle_Mk20_ACO_pointer_F" >> "magazines"

I know the path, but how do I get the actual array from that path?

---------- Post added at 15:57 ---------- Previous post was at 15:47 ----------

Figured it out, so simple that I now feel extremely silly for missing it. getArray

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×