Arma 3 Editor Tutorial | Make AI friends, then have the switch sides
This will show you how to have AI troops that would normally be hostile to each other, actually be allies via a trigger, and then have them go back to being hostile via another trigger.
Set the below in the on activation section of a trigger to make all sides friendly to each other. Remove the sides you don't want to use.
west setFriend [east, 1];
east setFriend [west, 1];
resistance setFriend [east, 1];
resistance setFriend [west, 1];
east setFriend [resistance, 1];
west setFriend [resistance, 1];
To make them hostile again, place a second trigger and use the below in the on activation section of another trigger.
west setFriend [east, 0];
east setFriend [west, 0];
resistance setFriend [east, 0];
resistance setFriend [west, 0];
east setFriend [resistance, 0];
west setFriend [resistance, 0];
Please like, share and subscribe! Remember to hit that bell icon to be notified of new content which is posted weekly!
Questions or comments? Want to ask for help with something or just want to be involved in our community missions? Join our discord: https://invite.gg/ocb
Please visit our new website: https://ocb.net.au
Missions and videos take time to make, please help me out by becoming a patron: https://www.patreon.com/ocb_au
Or you could make a one-off donation to help me out.
https://www.buymeacoffee.com/ocbau
Thanks to Bohemia Interactive for the greatest Mil Sim game of all time.
Thanks so much for watching!
Other Videos By OnlineCombatBN
Other Statistics
THE EDITOR Statistics For OnlineCombatBN
There are 81,790 views in 30 videos for THE EDITOR. His channel uploaded 4 hours worth of THE EDITOR videos, roughly 16.41% of the content that OnlineCombatBN has uploaded to YouTube.