configSourceMod

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 3 version 1.38
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.38

Description

Description:
Returns modDir of the mod that given config class was loaded from.

Syntax

Syntax:
configSourceMod config
Parameters:
config: Config
Return Value:
String

Examples

Example 1:
configSourceMod (configFile >> "CfgVehicles" >> "Heli_Transport_04_base_F"); //Returns "heli"
Example 2:
configSourceMod (configFile >> "CfgVehicles" >> "Car"); //Returns "A3"

Additional Information

Multiplayer:
-
See also:
configFileconfigSourceModListmodParams

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To