Jump to content
Sign in to follow this  
andromedagalaxe

civilians, friendly - unfriendly

Recommended Posts

Newbie here that's still experimenting with the editor.

I was attempting to create a "Resistance" like mission with the player as a civilian who has to steal some Russian equipment and attack Russian patrols after US airpower comes in.

Problem is that whatever settings I put for "independent" doesn't seem to matter. After I start shooting the Russian troops, they don't pay any attention to me, whether I'm listed as friendly or unfriendly.

Same thing with shooting US troops, they don't return fire.

Do I have to script this somehow?

Thanks

Share this post


Link to post
Share on other sites

put a west unit as the leader of your team and turn the probability of presence slider to 0

Share this post


Link to post
Share on other sites

Ok I will try these. Basically I want the RU units to behave neutrally to the player until they see he is taking equipment or shooting at them.

Share this post


Link to post
Share on other sites

ok, both solutions will make the civ change side at the start of the mission.

Share this post


Link to post
Share on other sites

the "setcaptive" command might work if you use it in combination with the beforementioned solutions. In the trigger you could say

player setcaptive false

just an idea, lot's of possibilities here

Nicolai

Share this post


Link to post
Share on other sites

tried to do these and also tried the side, faction and sideEnemy scripts without much luck.

I need to get much more familiar with sqf syntax. I couldn't tell what I was doing wrong.

Share this post


Link to post
Share on other sites

You could try the following code:

WEST setFriend [CIVILIAN, 0];
EAST setFriend [CIVILIAN, 0];
GUER setFriend [CIVILIAN, 0];

That should make everybody an enemy to Civilians.

Or you could try:

//NAME is the name of your civilian character
NAME addRating -2000;

Those might work...

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  

×