Function; SobGroup_AbilityActivate - HWRM/KarosGraveyard GitHub Wiki

SobGroup_AbilityActivate(<sSobGroupName>, <iAbilityIndex>, <bActivate>)

Description

Enables/disables <iAbility> for all the ships in <sSobGroupName>.
Note: only works if the ship has the ability.

Example

SobGroup_AbilityActivate("Mothership", AB_Dock, 0)

Arguments

<sSobGroupName>: the name of the SobGroup.
<iAbilityIndex>: the index number of the ability. See SobGroup_CanDoAbility for a list of abilities
<bActivate>: 0 is disable, 1 is enable.

Scope

Related Pages

Ability Code List

Function Reference

SobGroup_CanDoAbility

SCAR (SCripting at Relic) Reference

Comments

Page Status

Updated Formatting? Initial
Updated for HWRM? Initial

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