Execute multiple scripts at once
Then, create a new file in 'C:\' called 'execall.sqf'
Now edit the file, and type this:
Code:
Code:
player execVM "MyScripts\Script1.sqf"; player execVM "MyScripts\Script2.sqf"; player execVM "MyScripts\Script3.sqf"; player execVM "MyScripts\Script4.sqf";
Replace 'Script#.sqf' with the exact name of your script. Also, it is important to note that the order that the scripts are executed in is determined by the order written in the file. For example, if you have a script that spawns a truck, and then another script that gives that truck infinite fuel, you would want to place
Code:
Code:
player execVM "MyScripts\SpawnTruck.sqf";
Code:
Code:
player execVM "MyScripts\InfiniteFuel.sqf";
Credits to HarrisonTZ and Tat.

