Jump to content
Sign in to follow this  
icebreakr

Set BLUFOR friendly to OPFOR

Recommended Posts

I'm creating a mission where civilian tourists would play as BLUFOR group and OPFOR commander would have an option to set them:

a) friendly so AI patrols wouldn't mind them

b) enemy as simulation of curfew where they get fired upon

Is that possible to do without using setcaptive command?

Civilians get set to "enemy" status if they attack any of the guarded outposts (detected by OPFOR trigger) and try to steal any equipment.

Share this post


Link to post
Share on other sites

It is possible with setFriend command. Be aware that you set friendliness for both sides (see my note on the bottom of the biki page).

Share this post


Link to post
Share on other sites

With this functions you can do.

http://www.armaholic.com/page.php?id=2921

Example:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">_handler = ["setsides",[west, east],[resistance]] spawn handCreateAll;

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  

×