OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Peter haroski on 06 Jul 2004, 15:50:34

Title: Is there any easier way?
Post by: Peter haroski on 06 Jul 2004, 15:50:34
Ok, this is my problem

How I can make ALL east soldiers fire civilians.
I thought that there might be two ways to do this.

1. Switching civilians side to west? (How can I do this?)
2. Make trigger and write to activation: east dofire ap, east dofire ap2....?
+ east dofire civilians????
Title: Re:Is there any easier way?
Post by: macguba on 06 Jul 2004, 15:53:07
Ah yes, this hoary old chestnut.     (It's not always easy to find things using the forum search function, but its always worth a try.  ;))

Create a west soldier.   Create a bunch of civvies.   Group the civvies to the soldier, so that he is group leader.    In his init field write

deleteVehicle this

Now everybody thinks the civvies are West.  
Title: Re:Is there any easier way?
Post by: Dubieman on 06 Jul 2004, 15:54:48
Well I don't know of any big uniform way to switch civvies to a shootable side but the one way I know involves groups.

Have your civvie group then make a west soldier with a rank higher then any other civvi. Group the civvis to the west dude and in the west dudes init put  
 deletevehicle this
and that should work. If you give the civvis guns, then they will attack the east guys and vice versa. :)

edit: boooo  macguba types too fast :'( ;D
Title: Re:Is there any easier way?
Post by: Black Death on 06 Jul 2004, 16:00:08
This is what you do.  First, decide all the groups that are going to be East's enemy(West,Resistance, or both).  Then create a soldier from that side and group the civillians to him so he is the leader(if you have more than 11 civillians, you will need more guys to group them with).  Then in the soldier's init field, type

deleteVehicle this

Now try it and see East soldiers shoot up civillians(just like real life!!)jk lol

I know the search function isn't always that effective, that's what the community is here for.
Title: Re:Is there any easier way?
Post by: Dubieman on 06 Jul 2004, 16:04:02
Hey Black Death, Macca beat you too... :wow:


Anyways, I've tried dofire target and stuff like that, its very finicky for big battles and the way to do this described three times already is probably the best. :P
Title: Re:Is there any easier way?
Post by: Peter haroski on 07 Jul 2004, 10:44:38
thanks! :thumbsup:
Title: Re:Is there any easier way?
Post by: Acid on 07 Jul 2004, 11:03:18
Btw you don't even need to do deleteVehicle this, just set the probability of presence in the west soldiers properties to 0.