Surrender Module – Arma 2
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "Category:Arma 2:_Editor_Modules" to "{{GameCategory|arma2|Editor Modules}}") |
Lou Montana (talk | contribs) m (Lou Montana moved page Surrender to Arma 2: Surrender Module: name standard) |
(No difference)
|
Latest revision as of 04:45, 1 January 2021
Surrender (SRRS) module makes AI soldiers surrendering when in confusion, or outnumbered.
Initialization
Paths
Editor:
Modules (F7) > Surrender
Data:
ca\modules\SRRS
Editor setup
Optional parameters
Set global variables with desired values:
- BIS_SRRS_Debug = <number>; - allow or not debug - -1 for no debug, 0 for all debug, and 1 for "loop processing"
- Example: BIS_SRRS_Debug = 0;
- Default value: -1
- BIS_SRRS_ENABLED = <bool>; - activate the script
- BIS_SRRS_FOR_VEHICLES_ENABLED = <bool>; -
- BIS_SRRS_OVERRIDE_VEHICLES = <array>; -
- = <>; -
- = <>; -
Behaviour
- Soldiers surrendering will drop their weapons and put their hands behind their head
- Soldiers surrendering will be setCaptive, disableAI "move", will leave their group, will disembark from their vehicle if they have one and won't be able to climb in another
- Group leaders can tell their soldiers to surrender
- You'll have to place on the map at least one unit of the faction you will create with this module, or setFriend their side, so the created patrols attack their enemies
Known bugs
- Sometimes, the soldier will lower his hands. Don't worry, he's harmless :-)