OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: Crowey on 22 Jul 2008, 21:08:27

Title: How to make enemy surrender?
Post by: Crowey on 22 Jul 2008, 21:08:27
How do I make enemy surrender? Now i dont want them to just drop arms and give up straight away maybe when they get down to 5% of original personell? or for an officer when you get up close to him like in the EVOLUTION game?
Title: Re: How to make enemy surrender?
Post by: Mandoble on 22 Jul 2008, 22:01:58
Might be this (http://www.ofpec.com/ed_depot/index.php?action=details&id=365&page=1&cat=xyz) can help you to check surrender condition.
Title: Re: How to make enemy surrender?
Post by: Crowey on 23 Jul 2008, 16:56:38
OK ive saved it what do i do with it?
Title: Re: How to make enemy surrender?
Post by: Mandoble on 23 Jul 2008, 19:16:36
That returns the balance power inside the provide triggers area (just read the description of the script in its header). So, if the balance is too negative for a side, you may proceed with its surrendering.