Repair-subsystem

From FreeSpace Wiki
Revision as of 17:38, 24 September 2008 by TopAce (talk | contribs) (+cat)
Jump to: navigation, search
repair-subsystem
    Repair Subystem (Action operator)
    Increases the specified subsystem integrity by the specified percentage.If the percntage strength of the subsystem
    (after completion) is greater than 100%,subsystem strength is set to 100%.

    Takes 4 arguments...
    1: Name of ship subsystem is on.
    2: Name of subsystem to repair.
    3: Percentage to increase subsystem integrity by.
    4: Repair turret submodel. Optional argument that defaults to true.

Comments

You can use this SEXP to repair the hull as well as any subsystems. Using a repeating event, it is possible to make a ship continually regenerate hull strength as the mission progresses, even as it takes damage.