Go to the first, previous, next, last section, table of contents.

Surrender Parameters

The method's name is units-surrender; when it runs, it checks each unit to see if it is within surrender-range of a unit on an unfriendly side, and if the surrender-chance occurs, then the unit will change to the side of the other unit. Occupants will also evaluate their surrender/scuttle/escape chances, and behave accordingly.


Go to the first, previous, next, last section, table of contents.