Jump to content
Sign in to follow this  
JohnRayMitch

Script Loading

Recommended Posts

Hey guys, what is the most efficient way to load your custom scripts during initialization?

 

So far I've just been using [] execVm over and over and I can't help but feel there is a better way.

 

Any better ways to list your scripts say as an "include" like in c++? I'm coming from a software developers point of view so throw what you got at me.

Share this post


Link to post
Share on other sites
8 hours ago, Grumpy Old Man said:

CfgFunctions should do the trick, even allows to call functions during pre/postInit, for (vastly) increased performance.

 

Cheers

This is exactly what I was hoping for. Thank you!

  • 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
Sign in to follow this  

×