AutismoBot 2 Posted September 26, 2019 Hi folks, Thanks for taking the time to checkout this thread and provide support. I'm banging my head against the desk with regards to custom leaflets - https://community.bistudio.com/wiki/Arma_3_Leaflets#Custom_Leaflets I think my config is correct and it definitely works for customizing the existing West, East, Guer, and Civ leaflets, no problems there. My problem is with the Custom_01, Custom_02, Custom_03, etc. objects. I load up my mod, create a test scenario, put down a drone, configure the pylon settings to Custom_01, and then try to startup the drone and release the leaflets. I do see that the magazine is loaded but when I fire I get the following error message: Quote [BIS_func_initLeaflet] Script not defined for leaflet Custom 01 Quote class CfgLeaflets { class West { text = ""; texture = "mymod\data\leaflets\custom.paa"; } class East { text = ""; texture = "mymod\data\leaflets\custom.paa"; } class Guer { text = ""; texture = "mymod\data\leaflets\custom.paa"; } class Custom_01 { text = ""; texture = "mymod\data\leaflets\custom.paa"; } If I go into config view I see that CfgLeaflets > Custom_01 is indeed defined with my PAA file. Any idea on what's going wrong here? Happy to provide additional info if needed. Your help is immensely appreciated 🙂 Share this post Link to post Share on other sites
Dedmen 2581 Posted September 27, 2019 Quote [BIS_func_initLeaflet] Script not defined Yep. Correct. All BIS functions are named BIS_fnc_ not BIS_func_ https://community.bistudio.com/wiki/BIS_fnc_initLeaflet Share this post Link to post Share on other sites
AutismoBot 2 Posted September 28, 2019 (edited) Thanks Dedmen, nice catch. So if I understand correctly this is a bug in Arma itself then yes? I don't try calling BIS_func_initLeaflet in my addon anywhere, this is just the default that gets called when I fire the leaflet dispenser on the drone after loading Custom_01 in the pylon settings. EDIT: Filed a bug - https://feedback.bistudio.com/T145081 Is there a workaround in the meantime? Edited September 28, 2019 by AutismoBot Updated with link to bug Share this post Link to post Share on other sites
Dedmen 2581 Posted October 1, 2019 On 9/28/2019 at 6:10 AM, AutismoBot said: Is there a workaround in the meantime? init.sqf BIS_func_initLeaflet = BIS_fnc_initLeaflet; On 9/28/2019 at 6:10 AM, AutismoBot said: So if I understand correctly this is a bug in Arma itself then yes? I don't try calling BIS_func_initLeaflet in my addon anywhere Maybe you are running other mods that do it wrong. I'd say search "BIS_func_initLeaflet" through all BI SQF scripts (P-Drive preferably) and see if you find a reference in their code. Would also greatly help if you post that on feedback tracker as it makes fixing it trivial. Share this post Link to post Share on other sites