Jump to content
Sign in to follow this  
lucifervivo

How to make recruited unit get your side on WARFAR

Recommended Posts

Hi men!!

I need to change the side of a recruited unit to the side of the unit that is recruiting it.

The problem is that im trying to ad some units from a mod, and those units are GUER side, whe you recruit them they try to kill you, and I need that they get the correct side.

i dont know how to code so i need the code to implement it in the correct place.

please help me, and sorry about my english, i´m spanish.

thanks for all men

Share this post


Link to post
Share on other sites

Victor, I don't believe that that is what he is talking about. He's trying to change the side of a unit.

To change the side of the unit, I believe you will need to change the config.cpp of the addon within the addon's PBO file. You will have to show me the config.cpp for me to help you further. The edited addon should be saved with a PBO name to avoid confusion.

BIS never developed a command to change the side of a unit, which is surprising because it seems very useful, for spy missions and such, or missions where the sides are oddly aligned. Maybe it's hard to do.

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  

×