Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
raserisk

Switching sides ingame?

Recommended Posts

Hi guys, I apologize if this has been asked before, I searched on Google and on the fourms but didn't see anything that actually worked.

My set up for this mission will be BLUFOR and INDEPEDENT are allied toward each other at the start of the game until a BLUFOR ship is destroyed by OPFOR, but is blamed on Independents causing a war.

It's at that point where I want to switch the two sides from Allies to Enemies. I thought this command,

WEST setFriend [RESISTANCE, 0];

would help, it made them enemies, but they wouldn't attack each other or anything.

Thanks :)

Edited by Raserisk

Share this post


Link to post
Share on other sites

remember to set each side against each other like the wiki says

Resistance setFriend [WEST, 0];
WEST setFriend [Resistance, 0];

Share this post


Link to post
Share on other sites

Thank's for your feedback, the additional command will help. Well, they are certainly taking hostile stances towards each other, but they won't fire at each other for some reason, any solutions?

Share this post


Link to post
Share on other sites

Sorry guys for the bump but I never got this to work and I really am trying to do this mission where it happens. So the code

Resistance setFriend [WEST, 0];

WEST setFriend [Resistance, 0]

makes them hostiles, but does anyone know how to make them actually attack each other?

Share this post


Link to post
Share on other sites

By Resistance I take it your referring to Independent Guerillas in which case the code works perfectly for turning them against the West. Both sides engage as expected.

Share this post


Link to post
Share on other sites

After bumping the thread 3 times because you don't get an answer I'm going to close this.

We do not allow bumping of threads just to bring it up again.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×