Jump to content
_SCAR

CfgFunctions, compile and preprocessFile

Recommended Posts

All,

I currently use CfgFunctions to define the function of my mod. I use a standard setup as defined in this video:

 

 

Do I need to use `compile` and `preprocessFile` to optimize the speed of these functions? Or are those already implemented when using CfgFunctions?

 

Thank you!

Share this post


Link to post
Share on other sites

Upon missions start (or game start, depends) the functions defined inside your Functions library (which essentially is CfgFunctions) are being run through the preprocessor and compiled for the game, using compileFinal.

This means, that the functions defined inside your config are run using the most optimized settings.

BIKI reference just for bed-time reading ;):

 

Functions Library (Arma 3)

 

Best regards,

Mokka

  • Like 1

Share this post


Link to post
Share on other sites

Awesome, thank you Mokka!

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

×