Jump to content
Vrae

Change faction allegience

Recommended Posts

a simple script to change faction allegiance retaining their waypoints

here it changes AAF to fight for opfor faction if you want them to fight the LDF

 

INDG = allgroups select {faction leader _x == "IND_F"};

{
_groupold = _x;
_groupnew = createGroup east;
(units _groupold) join _groupnew;
_groupnew copyWaypoints _groupold;
} foreach INDG;

 // --------------------------------------------------------------------------

/*

null = [] execVM "INDtoOPFOR.sqf";

*/;

drones work fine,
helicopter behaviour issues - transports don't unload troops as per waypoint

Share this post


Link to post
Share on other sites

If you are using editor place units and not unit spawning in for a mission very simple trick. Place a opfor unit as leader group whatever squad you want to that leader. Now in the leader's attributes set presents zero. Now the entire group is opfor and will attack just like you were using all opfor

units. I've been using this since ARMA 2 to get civilians to fight against opfor blufor or ind.

Share this post


Link to post
Share on other sites

This doesn't appear to work for me on a dedi server. Changed the allegiances fine, but the waypoints were not copied.

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

×