Jump to content
Sign in to follow this  
RN Malboeuf

How can I define startupScript in the config ?

Recommended Posts

there's a part in the config.cpp

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 sad_o.gif

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

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

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

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

I'm struggling with the same task. Did you ever figure is out?

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×