Hello,
sorry the scripts are not optimized yet. Therefore it is a little bit inconvient to use them, but it is possible.
First:
add to your INIT.SYS the Lines:
VICTIMS = [Gangster1,Gangser2]
PRISONERS = []
VICTIMS should contain the names of all people which can be arrested. PRISONERS will contain the names of all people you have arrested (of course empty at the beginning). Gangster1 and Gangster2 are only examples.
SECOND:
Copy Capture.sqs, Captive.sqs and Brave.sqs from the attached zip File in your mission folder.
THIRD:
Add a unit called "corpsman" to your mission. All arrested units will join this unit after being arresting.
Add a unit called "Teamleader" to your mission. The Teamleader will not grab the weapon the arrested dropped when he is the players group. (used to simulate a officer or VIP in the players group).
FOURTH:
Add the following to the players init:
ID1 = this AddAction [""Yell 'Drop your Weapons'"",""Capture.sqs""]
FINISHED: So what should happen ? Point your gun on someone in the VICTIMS array you is near you (about 50m), select the Yell "Drop your Weapons" action out of the action menu. He will go prone, drop his weapon (if he has one) and stand up with the hands behind his head. A member of the players group (or the player himself) will run to him search him and takes his weapon. If the member is on the east side, there is a 10% chance that he is brave and tries to grap his gun again.
After the member of the players group is back on this place or after about 2 minutes (what ever happens first). The arrested joins the unit called corpsman.
Please note it is still in Beta. If you find any errors or problems i am more than willing to correct them. Ah, well a last thing if you use it for your missions etc, which you publish please mention my name in the readme.
Greetings
Kuro
Sorry attach does not work ,please download the Arrest.zip from
http://www.modify-the-game.com/OFP/Arrest.zip