Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:3.7

Description

Description:Returns the path for the addon that contains the evaluated configuration.

Syntax

Syntax:getAddonLocation config
Parameters:
  • config: Config-2 - The configuration to evaluate.
Return Value:String - The absolute path of the associated addon file.

Examples

Examples:
_path = getAddonLocation (configFile >> "CfgVehicles" >> "vbs2_cone");
// Might return "C:\BI\vbs3\core\addons\core\objects\misc.zbo"
_path = getAddonLocation (configFile >> "CfgPatches" >> "bia_sample_uav");
// Might return "C:\BI\vbs3\content\dev\addons\bia_sample_uav.zbo"

Additional Information

See also: getVirtualFilePath, fn vbs addonExists, cfgPatch, fn vbs getContentModules
Multiplayer: 
Problems: 

Notes