configSourceMod: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *arma3 * * *\| *([0-2]\.[0-9]{2}) * " to "|game1= arma3 |version1= $1 ") |
Lou Montana (talk | contribs) m (Text replacement - "\|s1= +" to "|s1= ") |
||
Line 10: | Line 10: | ||
|descr= Returns modDir of the mod that given config class was loaded from. | |descr= Returns modDir of the mod that given config class was loaded from. | ||
|s1= | |s1= '''configSourceMod''' config | ||
|p1= config: [[Config]] | |p1= config: [[Config]] |
Revision as of 15:38, 19 June 2021
Description
- Description:
- Returns modDir of the mod that given config class was loaded from.
- Groups:
- Mods and Addons
Syntax
Examples
- Example 1:
configSourceMod (configFile >> "CfgVehicles" >> "Heli_Transport_04_base_F"); //Returns "heli"
- Example 2:
configSourceMod (configFile >> "CfgVehicles" >> "Car"); //Returns "A3"
Additional Information
- See also:
- configFileconfigSourceModListmodParams
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note