configSourceMod: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[Category\: ?Command[ _]Group\:.*\|\{\{uc\:\{\{PAGENAME\}\}\}\}\]\] " to "") |
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Arma[ _]3(\|.*)?\]\]" to "{{GameCategory|arma3|Scripting Commands}}") |
||
Line 1: | Line 1: | ||
{{GameCategory|arma3|Scripting Commands}} | |||
{{Command|Comments= | {{Command|Comments= |
Revision as of 21:19, 9 January 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