RN Malboeuf 12 Posted January 17, 2007 there's a part in the config.cpp [b said: Quote[/b] ]scriptsPath = "scripts\"; startupScript = ""; scriptsPath is a path in th ui.pbo. How can I define that startupScript ? I want it to be somewhere in the mod folder - I don not like to copy the whole ui.pbo. 1. startupScript = "modfolder/scriptsfolder/global_init.sqs" - not worky 2. startupScript = "global_init.sqs" and tried to place the script into modfolder/scripts/global_init.sqs modfolder/dta/scripts.pbo/global_init.sqs modfolder/ui/global_init.sqs 3. placing custom ui.pbo (with this only script) into modfolder/addons/ ruins game design I'm just out of ideas... How can I define this script to be in a mod ? Share this post Link to post Share on other sites
Planck 1 Posted January 18, 2007 Did you try: startupScript = "modfolder\scriptsfolder\global_init.sqs" or startupScript = "\modfolder\scriptsfolder\global_init.sqs" Planck Share this post Link to post Share on other sites
RN Malboeuf 12 Posted January 18, 2007 No luck in both ways. I guess I have to do smth with scriptsPath... but can't see a way to define it not in ui.pbo Share this post Link to post Share on other sites
Jackal326 1182 Posted January 18, 2007 Are you using '\' or '/' because OFP (and ArmA of course) prefer the use of ''\ rather than '/' Share this post Link to post Share on other sites
gmJamez 0 Posted July 7, 2007 I'm struggling with the same task. Did you ever figure is out? Share this post Link to post Share on other sites