Most recent edit on 2006-08-28 05:23:39 by SunTzu [fixed formatting bug]
Additions:
AddSubSystemAbility(<rSubSystem>, <sAbility>, <?>, <sTarget>, <fRadius>)
Deletions:
AddSubSystemAbility(, , , )
Edited on 2006-03-03 12:32:23 by SunTzu
Additions:
<fRadius>: The radius within which any ship allowed by the <sTarget> setting is granted the specified ability.
Scope
Related Pages:
Deletions:
<fRadius>: The radius within which any ship allowed by the sTarget setting is granted the specified ability.
Edited on 2006-03-03 12:30:45 by SunTzu
Additions:
<sAbility>: Specifies the ability that is granted. "Cloak", "Hyperspace" and "HyperspaceInhibitor" are available. "DefenseField" might be available as well. Note that the names of the abilities are not the same as in addAbility.
Deletions:
<sAbility>: Specifies the ability that is granted. "Cloak" and "Hyperspace" are the only abilities used in the stock HW2 subsystems. Perhaps other abilities are available; the names of the abilities are not the same as in addAbility.
Edited on 2006-03-03 12:12:56 by SunTzu
Additions:
This function is called within a .subs file. It grants the ability specified with <sAbility> to the ships defined with <sTarget>.
AddSubSystemAbility(NewSubSystemType, "Cloak", 1, "ThisShipOnly", 0)
<rSubSystem>: Reference to the subsystem. This should be NewSubSystemType.
<sAbility>: Specifies the ability that is granted. "Cloak" and "Hyperspace" are the only abilities used in the stock HW2 subsystems. Perhaps other abilities are available; the names of the abilities are not the same as in addAbility.
<?>: Possibly an active/inactive boolean flag.
<sTarget>: Specifies which ships within the fRadius receive the specified ability. Possible values are "OwnShipsWithinRadius" and "ThisShipOnly", both used within the stock HW2 subsystems. Other definitions might be available.
<fRadius>: The radius within which any ship allowed by the sTarget setting is granted the specified ability.
Deletions:
This function is called within a .subs file. It grants the ability specified with <sAbility> to the ships defined with <sTarget>.
AddSubSystemAbility(NewSubSystemType, "Cloak", 1, "ThisShipOnly", 0)
<rSubSystem>: Reference to the subsystem. This should be NewSubSystemType.
<sAbility>: Specifies the ability that is granted. "Cloak" and "Hyperspace" are the only abilities used in the stock HW2 subsystems. Perhaps other abilities are available; the names of the abilities are not the same as in addAbility.
<?>: Possibly an active/inactive boolean flag.
<sTarget>: Specifies which ships within the fRadius receive the specified ability. Possible values are "OwnShipsWithinRadius" and "ThisShipOnly", both used within the stock HW2 subsystems. Other definitions might be available.
<fRadius>: The radius within which any ship allowed by the sTarget setting is granted the specified ability.
Oldest known version of this page was edited on 2006-03-03 10:30:43 by SunTzu []
Page view:
AddSubSystemAbility(, , , )
Description:
This function is called within a .subs file. It grants the ability specified with <sAbility> to the ships defined with <sTarget>.
Example:
AddSubSystemAbility(NewSubSystemType, "Cloak", 1, "ThisShipOnly", 0)
Arguments:
<rSubSystem>: Reference to the subsystem. This should be NewSubSystemType.
<sAbility>: Specifies the ability that is granted. "Cloak" and "Hyperspace" are the only abilities used in the stock HW2 subsystems.
Perhaps other abilities are available; the names of the abilities are not the same as in addAbility.
<?>: Possibly an active/inactive boolean flag.
<sTarget>: Specifies which ships within the fRadius receive the specified ability. Possible values are "OwnShipsWithinRadius" and "ThisShipOnly", both used within the stock HW2 subsystems.
Other definitions might be available.
<fRadius>: The radius within which any ship allowed by the sTarget setting is granted the specified ability.