FANDOM



AddShipAbility(<tShipTable>, <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
tShipTable:
sString:
iInteger:
sString:
bBool:
Related Pages


Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.