Vandeanson 1677 Posted February 3, 2020 Hi all, I am a bit puzzled with regards to how cfgFunctions are added (when not defining the path-to-.sqf file for each function). I am trying to merge my functions defined in a test missions description.ext into my mods config.cpp. The below worked in description.ext. Spoiler class CfgFunctions { class VA { class TL { class Nourishment { file = "VA3\VA\functionsTL"; class TLaddKey {}; class hungerLoop {}; class thirstLoop {}; class actionSelect {}; class placeFireplace {}; class AVMInjector {}; class AVMPill {}; class bandage {}; class fillBloodbag {}; class useBloodbag {}; class eat {}; class drink {}; class gatherMil {}; class gatherRessources {}; class planting {}; class gatherPumpkin {}; class gatherApple {}; class butcherGame {}; class selectRecipes {}; class itemCheck {}; class snackCheck {}; class drinkCheck {}; class mealCheck {}; class ingredCheck {}; class utilCheck {}; class addRecipees {}; class recipeArray {postInit = 1;}; class drinkBottle {}; class fillBottle {}; class smokeEmitter {}; class frying {}; class boiling {}; class placeCookUtil {}; class cookFirePlace {}; class BoilWaterFP {}; class boilWater {}; }; }; }; }; "VA3" is the root folder of my mod, containing the "VA" folder. config.cpp is in the "VA" folder I am trying to follow this guide: https://community.bistudio.com/wiki/Arma_3_Functions_Library#Adding_a_Function more precisely, I am trying to get this to work: https://imgur.com/a/k0Z5IWa Any idea what I am doing wrong? I appreciate any help, thanks! Cheers VD Share this post Link to post Share on other sites
7erra 629 Posted February 3, 2020 This is my mod's cfgFunctions (at least part of it): class CfgFunctions { class TER { class 3den { file="\TER_Editing\fnc"; class exportCfg { }; class findHouseType { }; class showBuildingPos { }; class exportMarker { }; class clearInventory { }; }; }; }; Where TER_Editing is the pbo folder. Share this post Link to post Share on other sites
haleks 8212 Posted February 3, 2020 I reckon file = "VA3\VA\functionsTL"; is missing a slash : file = "\VA3\VA\functionsTL"; Share this post Link to post Share on other sites
Vandeanson 1677 Posted February 3, 2020 Thanks gents, will check and confirm back. Wouldnt be the first time a missing \ or ; gets me:) Share this post Link to post Share on other sites