Ship-subsys-guardian-threshold

From FreeSpace Wiki
Revision as of 23:20, 25 November 2020 by TopAce (talk | contribs) (note: when threshold > current health)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
ship-subsys-guardian-threshold
	Same as ship-guardian-threshold, but works on subsystems.
Call with a threshold of 0 to deactivate.

Takes 3 or more arguments...
	1:	Threshold value.
	2:	Ship housing the subsystem(s).
	3+:	Subsystems to make unkillable.

Notes

  • If the threshold value is higher than the subsystem's health, it behaves like a ship-invulnerable for subsystems.