Jump to content
Sign in to follow this  
Spades_Neil

Changing Unit Sides / Custom Sides

Recommended Posts

Pure and simple, how do I make a unit change sides without linking them to a unit of an opposing team? Because that defeats what I'm trying to do.

For example, within the Independent faction, I have a group I want to be hostile toward everyone (including civilians and other Independents). However I don't want them to be hostile to each other within the group.

Then I have a group on OpFor who I want to be hostile to everyone except Civilians.

I've been searching for a couple days now and gotten no results on Armaholic or anywhere else I've looked, and the wiki is bloody confusing. I don't understand how to write a raw line of code correctly, so when I try doing stuff like sideEnemy, I keep getting errors that won't allow it to run. I don't even know if this will get the effect I want.

http://community.bistudio.com/wiki/Side <- This is all I understand so far. There's 8 "sides" in the game. I only need a total of 6 for my purposes.

Edited by Spades_Neil

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  

×