OK, I've found a way to make it work and I've found why it wasn't working before.
The line **ALIVE_autoGeneratedTasks = ["Assassination","SabotageBuilding"];** does not make the autogen system choose between those two missions every time it assigns. It selects one of those two options and will then assign that mission every time.
It will not work in multiplayer if set in the init.sqf. It will work if it is set in-game by a trigger.
To make it randomly select a mission every time you will need to repeatedly activate the trigger over and over again, causing it to reselect between the options everytime the trigger activates.
To do this I have set a full map trigger that detects BLUFOR and then runs a script with the missions I want to be chosen between, it's much easier with a script for reasons I'll detail in a moment.
First you need a script, I've put it in the mission folder and named it "tasks.sqf", it contains the following code:
**
waituntil {!isnil "ALIVE_autoGeneratedTasks"};
ALIVE_autoGeneratedTasks = ["Assassination","SabotageBuilding","DestroyVehicles","MilAssault","DestroyInfantry"];
Sleep 300;
triggervariable = false;
**
In the init.sqf I've added the following line:
**
triggervariable = true;
**
In the editor I've placed a trigger with 20k radius set for detect BLUFOR repeatedly, with the following additions:
CONDITION: this AND triggervariable
ON ACT: null = execVM "tasks.sqf";
ON DEA: triggervariable = true;
COUNTDOWN/TIMEOUT must be set to zero, if they have a value then the trigger will not reactivate without leaving the trigger area.
This method allows for the trigger to reactivate every 5mins while BLUFOR are present in it, meaning that every 5mins ALiVE will set the mission generation to one of the options listed in the script.
In practice this means that every time you get a mission it will be randomly selected from those options, you can set the sleep time to whatever you like, but if you complete the assigned mission within the sleep period you will receive the same type of mission again.
The reason for using a script for this is that it is easier to make a trigger that repeatedly activates when BLUFOR are present in it, otherwise you'd need to leave and re-enter the trigger area to make the mission reselect. This would be awkward as you've have to set it in an area that would be entered and vacated frequently.
To debug this system you can add the line **Hint "Triggered";** to the tasks.sqf before the sleep line, and add **hint "";** to the ON DEA line of the trigger. You will then see a hint saying "Triggered" lasting for 5mins, after which it will delete and refresh.
Set the sleep time to something very low for this if you wish to see the triggering intensify. You'll want to set it to 5s to be able to observe it working without having to stare at the screen all day.
Once you're happy it works set the sleep to 300 (or whatever you want) and delete the hints for normal use.
I hope this is of use to anybody who is having the issue that I was struggling with.