Jump to content
smacker909

ModuleSpawnAI_F change faction

Recommended Posts

I'm trying to figure out how to change BLU_F to BLU_T_F in the following, created by the SpawnAI module.  Does an addon need to be created to do that?  I can change it in the mission.sqm file it's self, but of course, when I load up the mission in the editor, the module overwrites it.   Sorry if this has been covered before, I have been searching for a while :(.    On a side note, I assume the module will be updated to reflect the new factions.. at least I hope so :)

class Attribute7
{
	property="ModuleSpawnAI_F_Faction";
	expression="_this setVariable ['Faction',_value,true];";
	class Value
	{
		class data
		{
			class type
			{
				type[]=
				{
					"STRING"
				};
			};
			value="BLU_F";
		};
	};
};

Share this post


Link to post
Share on other sites

Its staring at you right there.

For instance as I do not have Apex downloaded atm..

this setvariable ["Side","east"];this setvariable ["Faction","OPF_F"];
In the modules init as a default NATO would instead spawn OPFOR.

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

×