Jump to content
Sign in to follow this  
stevos758

Changing a units Side/Faction.

Recommended Posts

So in my mission I want to use addon units that are in the independent faction. I want these units to be my enemies not my allies. I already have some AAF units placed as allies. The addon is in another group in the independent faction.

Is it as simple as changing the side="XXXX" in the mission SQM for each unit placed or is that to easy?

Example.

Using the Russians Addon.

They are in the independent faction.

I want them to be my enemy.

I have AAF.

They are in the independent faction.

They are my allies.

Share this post


Link to post
Share on other sites

Nice timeing just did this for a freind:

There is about a 100 threads on this website about doing this but this is the simplest method.

Share this post


Link to post
Share on other sites

You could just place a high ranking unit of the desired side IE; East. Set his condition of presence to 0% and group your addon independent units with the east unit. Or in your init.sqf or any script, you can do:

_SideHQ = createCenter east; // you may or may not need to create the sides center depending if the side in quetion hs already been defined. ie; an east unit placed via editor, then this is not needed
grpName = createGroup east;
{[_x] joinSilent grpName;} forEach units addonGrpName;

Edited by Iceman77

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  

×