Function; SobGroup_CanDoAbility - HWRM/KarosGraveyard GitHub Wiki

SobGroup_CanDoAbility(<sSobGroupName>, <iAbility>)

Description

Returns true if any ship in <sSobGroupName> can perform the specified ability.
Note: to activate an ability us SobGroup_AbilityActivate.

Example

if (SobGroup_CanDoAbility("V_Inf_Carrier", AB_Builder) == 1) then ...code... end

Arguments

<sSobGroupName>: the name of the sobgroup.
<iAbility>: Valid abilities are listed here.

Related Pages

Abilities list
Function Reference
SobGroup_AbilityActivate

Comments

Page Status

Updated Formatting? Initial
Updated for HWRM? Initial

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