configSourceMod: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| *(([^=\| ]+)('''|\[\[)([^=\| ]+)) * \|p1=" to " |s1= $1 |p1=") |
Lou Montana (talk | contribs) m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=]{12})" to "|$1=$2 |descr=$3") |
||
Line 9: | Line 9: | ||
|gr1= Mods and Addons | |gr1= Mods and Addons | ||
| 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= '''configSourceMod''' config | |s1= '''configSourceMod''' config |
Revision as of 20:58, 13 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