Search the Community
Showing results for tags 'surrendering'.
Found 1 result
-
Making units of a side within certain area surrender. Help
mcnools posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
So, I was hoping to make some missions for my group where we can bring in prisoners for questioning to gain valuable intel. In order to do this however I need to have the enemy surrender sometimes. I tried googling around but I haven't managed to find anything yet. If there is some proper surrendering script out there that takes in variables such as how outnumbered an enemy is, if he's wounded etc. that would be cool but if not I would be completely find with a more simple script that makes the remaining enemies of one side (within a specific area) surrender when there are say... less than three of them left in that area. I found this topic discussing how to make enemies surrender when there are less than 10 of them in the entire map (from what I've understood of that topic) but I couldn't even get that to work it seems. Unfortunately I'm completely at loss when it comes to scripting so I would need help. In other words, I'm looking for a trigger/script with the condition "less than three OPFOR within this area" and the on activation "the last OPFOR within the area puts their hands on their backs and is set as captive". Any ideas anyone? If there are any other good surrender scripts/ideas I would like to hear them as well. We do use Alive though so anything that is relying on groups that are present when the mission starts etc. won't work I suppose. (My idea here was to have a minimum amount of enemies placed in these areas at start and then having more spawn by Alive, that way they won't just surrender right away or something)- 10 replies