configSourceMod: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Command " to "{{RV|type=command ")
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
Line 20: Line 20:
|x2= <code>[[configSourceMod]] ([[configFile]] >> "CfgVehicles" >> "Car"); //Returns "A3" </code>
|x2= <code>[[configSourceMod]] ([[configFile]] >> "CfgVehicles" >> "Car"); //Returns "A3" </code>


| [[configFile]], [[configSourceModList]], [[modParams]]
|seealso= [[configFile]], [[configSourceModList]], [[modParams]]
}}
}}

Revision as of 00:31, 17 February 2021


Hover & click on the images for description

Description

Description:
Description needed
Groups:
Mods and Addons

Syntax

Syntax:
Syntax needed
Parameters:
config: Config
Return Value:
Return value needed

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