Jump to content
Sign in to follow this  
twisted

is it possible to make an addon run automatically no matter what mission?

Recommended Posts

hi,

im trying to figure out how to make a sqf or pbo run in SP no matter which mission i choose to run.

is it possible and if so any reference as to how?

Share this post


Link to post
Share on other sites

What exactly do you want to run? Have your own script or some community created mod? If its a mod/addon it will run all the times if you have it loaded with your game. If you dont know how to load an addon see here.

Share this post


Link to post
Share on other sites

Is this something I would use if I wanted to attach a simple addAction script option to the scroll wheel options? If anyone is willing to give me a hand, please send a PM my way. Thanks.

Share this post


Link to post
Share on other sites

You can run every kind of script with that little addon, without editing the original mission file.

Greez KiloSwiss

Share this post


Link to post
Share on other sites
Is this something I would use if I wanted to attach a simple addAction script option to the scroll wheel options? If anyone is willing to give me a hand, please send a PM my way. Thanks.

Class CfgFunctions in your config.cpp you should be able to use the postInit attribute to have it execute your addAction code after all objects have been spawned/initialized.

https://community.bistudio.com/wiki/Functions_Library_%28Arma_3%29#Attributes

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  

×