Jump to content
tElore

Init.sqf in Config.cpp

Recommended Posts

Hi. I have a little problem. And I can’t find her solution.
I have config.cpp file, and i have

class Extended_PostInit_EventHandlers
{
	class North_Tables
	{
		clientInit = "[] execVM 'init.sqf'";
	};
};

in config.cpp

but i have error

File init.sqf not found.

 

I tried a lot variants.

Files are arranged in this order.

North_Core.pbo -> Tables -> config.cpp and init.sqf

I tried to do so

clientInit = "[] execVM 'North_Core/table/init.sqf'";
clientInit = "[] execVM 'Tables/init.sqf'";

But nothing. 

Thanks. 

  • Like 2

Share this post


Link to post
Share on other sites

Hello there tElore 

and welcome also to Bis Forums !

 

# I'm not sure if it will work !

Try:

 

clientInit = call compile preProcessFileLineNumbers "YourModFolder/init.sqf";

 

Share this post


Link to post
Share on other sites
15 hours ago, tElore said:

clientInit = "[] execVM 'North_Core/table/init.sqf'";

Wrong slashes, arma uses backslash.

You need to use full path there, and you should be using a pbo prefix, otherwise it will break whenever someone renames your pbo.

 

clientInit = "[] execVM '\North_Core\table\init.sqf'";

 

  • Like 1

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

×