Jump to content
Sign in to follow this  
Recoilless

Hostile Civilians

Recommended Posts

Is there a way to make civilians become hostile and attack the players if they approach?

Share this post


Link to post
Share on other sites

if player is west:

_civ = _eastGroup createUnit [_civClass, _position, [], 0, "NONE"] ;

Share this post


Link to post
Share on other sites

Won't that just spawn a new civilian in the east group.

Edit: I want them to appear as civies first.

Edited by Recoilless

Share this post


Link to post
Share on other sites

Example: If you want the civilians to engage playerside (like west), group them to EAST soldier, and make him COLONEL (as long as the EAST side man is higher in rank than the civilians you linke them into), and the east sodliers precense to 0%, so he will dissapear instantly. Now, once players are in sight of those civilian,they are on EAST side and will engage the WEST players,if you have put some weapons to them =)

Should work

Share this post


Link to post
Share on other sites
Example: If you want the civilians to engage playerside (like west), group them to EAST soldier, and make him COLONEL (as long as the EAST side man is higher in rank than the civilians you linke them into), and the east sodliers precense to 0%, so he will dissapear instantly. Now, once players are in sight of those civilian,they are on EAST side and will engage the WEST players,if you have put some weapons to them =)

Should work

Yep, this is the easiest way to do it. Of course it also means they will be gunned down by Marines or CDF as soon as they are spotted. Unless you use setCaptive on them to prevent that.

Share this post


Link to post
Share on other sites

Also there is side "independend" that will use the same method to choose an ally side than civilians (they are resistance=armed civilians) from the mission info thing, where you can change weather etc.

All you have to do is to change the "independends are friendly to (and choose side - nobody,bluefor-opfor-anybody)

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  

×