Jump to content
Sign in to follow this  
profcupcake

Calling a script before the briefing?

Recommended Posts

Is there any way to call a script or piece of code before getting to the briefing?

Preferably, have it as the very first thing that is processed.

Share this post


Link to post
Share on other sites

The init line of the first object placed in the editor will be the first thing executed in your mission. Before init.sqf even.

So if you put this into it's init:

call (compile preprocessFileLineNumbers "yourscript.sqf");

It will be the first thing that is being run.

Loading screen as suggested above is also a must have for the init.sqf imho.

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  

×