Percent-ships-disabled

From FreeSpace Wiki
Jump to: navigation, search
percent-ships-disabled
   percent-ships-disabled
   Boolean function which returns true if the percentage of ships in the listed ships which have been disabled is greater or
   equal to the given percentage.

   Takes 2 or more arguments...
   1: Percentge of disabled ships at which this function will return true.
   2+: List of ships whose disabled status should be determined.