Get-damage-caused

From FreeSpace Wiki
Jump to: navigation, search
Get damage caused (Status operator)
	Returns the amount of damage one or more ships have done to a ship.

Takes 2 or more arguments...
	1:	Ship that has been damaged.
	2:	Name of ships that may have damaged it.

Notes

This returns the amount of damage (in percentage) done relative to the ship's default hitpoints. A ship with 1000 default hitpoints will return 10 if 100 points of damage were applied. If you raise the ship's hitpoints to 2000 in FRED (Ship Editor --> Special Hitpoints), then 100 points of damage will return 10 again, though the actual damage is 5%.