OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: ocnick on 02 May 2003, 03:36:52

Title: Getting Resistance to shoot the civil police?
Post by: ocnick on 02 May 2003, 03:36:52
I've been trying for a while now to get resistance to shoot civilian cops.  I tried commandtarget, commandfire, etc. but that didnt work.  Also tried changing cops to side"west" in mission.sqm, but that didn't seem to work either.  If someone one could help me out, that would be cool.
Title: Re:Getting Resistance to shoot the civil police?
Post by: deaddog on 02 May 2003, 04:45:23
I just tried this:

civilian unit name=civy

resistance soldier name=r1


r1 dofire civy

r1 commandfire civy worked, too.


Title: Re:Getting Resistance to shoot the civil police?
Post by: macguba on 02 May 2003, 11:05:35
Group the cops under West group leader.   In the init field of this west loon write

deleteVehicle this

Syntax not guaranteed.   Make sure Res is not friendly to West.
Title: Re:Getting Resistance to shoot the civil police?
Post by: dmakatra on 02 May 2003, 12:49:18
or hack da mission file, much more fun ;D

Maybe we should add dis Q in da sticky topic?
Title: Re:Getting Resistance to shoot the civil police?
Post by: ocnick on 02 May 2003, 14:01:25
Ok, the commandtarget, commandfire works with infantry, but seems buggy with a bmp.  Sometimes the bmp just drives by the cop, other times it targets a bare spot in a field 300 meters to  the right of the cop.  Dont know what the deal with that is.  And when you say hack the mission.sqm, what do you mean by hacking it?  Thanks for your help guys :).
Title: Re:Getting Resistance to shoot the civil police?
Post by: Wadmann on 02 May 2003, 19:02:53
At the OFP.info site they have an addon for East and Res. police units. They are  currently on page 3 of the unit addon section. Hope that this will help. ;D