Difference between revisions of "Repair-subsystem"
From FreeSpace Wiki
(New page: repair-subsystem Repair Subystem (Action operator) Increases the specified subsystem integrity by the specified percentage.If the percntage strength of the subsystem (after...) |
(No difference)
|
Revision as of 11:47, 24 May 2008
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.