Function; AddShipAbility - HWRM/KarosGraveyard GitHub Wiki

AddShipAbility(<rShipTable>, <sString>, <iInteger>, <sString>, <bBool>)

Description

Quote from Mecha (discussion thread):
"AddShipAbility is part of the modifier system, it says that this ship enables the defense field ability in other ships. You've set it to "ThisShipOnly" so it enables an already present defense field ability on the same ship. This is kind of pointless, just set the defense field ability to be active by default, no need for using the modifier system."

Used by eg. the cloaking and defense field abilities. Is this function required/obsolete? -VarisWiki
It works the same way as AddSubSystemAbility.

Example

AddShipAbility(NewShipType, "DefenseField", 1, "ThisShipOnly", 0)

Arguments

Scope

Related Pages

Comments

It's not pointless. If I understand this correctly, this is kind of like the fire conrol module.

--Mikali (2006-04-12 09:41:58)

I can't find the function anywhere in ShipRuning.xls. Where is it?

--Mikali (2006-04-12 10:00:56)

ShipTuning.xls

--Mikali (2006-04-12 10:01:11)

Look in the multipliers section.

--SunTzu (2006-04-13 09:42:35)

Page Status

Updated Formatting? Initial
Updated for HWRM? Initial

⚠️ **GitHub.com Fallback** ⚠️