twisted 128 Posted February 22, 2015 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
Jastreb 69 Posted February 23, 2015 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
KiloSwiss 16 Posted February 26, 2015 If you only want to run some script via addon, then have a look into this: http://kiloswiss.ch/misc/arma3/a3autoexec_addon.zip Have fun Share this post Link to post Share on other sites
lappihuan 178 Posted February 26, 2015 You can find more infos about that here Share this post Link to post Share on other sites
BadHabitz 235 Posted February 26, 2015 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
KiloSwiss 16 Posted February 26, 2015 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
jshock 513 Posted February 26, 2015 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