Jump to content
Sign in to follow this  
skilfuleric

I need help with some scripting

Recommended Posts

Hello, is it possible to make it so civilians shoot at other civilians? I want a civilian to shoot at me (I'm a civilian also). If anyone knows please tell me :D I'm very new and trying to learn! :D

Share this post


Link to post
Share on other sites

http://forums.bistudio.com/showthread.php?99246-How-do-I-make-civilian-attack-me&highlight=civilian+shoot

http://forums.bistudio.com/showthread.php?52269-Make-Civilians-enemies&highlight=civilian+shoot

Or have a look at addRating, having a rating below -2000 will turn the unit into ENEMY, but that will cause the unit to be attacked by everyone and not just by other civs.

Share this post


Link to post
Share on other sites

Create all units you want to take part in the game. Fully prepare them - place civilians, arm them etc.

Now create 2 units - Blufor unit with probability of presence =0%, and Opfor unit with the same probability of presence =0%

Make one of units your leader (if you choose Blufor leader, you will belong to Blufor, just like regular Blufor soldier). Now make the Opfor unit a leader to bandits.

You can use resistance unit, but only to be your leader, because civilians=resistance. You don't want neutral civilians to be afraid of you, right?

From now on, civilian bandits are Russian soldiers, and you are American/Resistance soldier. Russians and bandits will shoot you, and Americans will shoot bandits.

P.S. There are armed units looking like civilians, but they are OPFOR side.

Edited by Valdee
P.S.

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  

×