Function; SobGroup_AreAnyOfTheseTypes - HWRM/KarosGraveyard GitHub Wiki

SobGroup_AreAnyOfTheseTypes(<sSobGroupName>, <sShipTypes>)

Description

Returns true if any ship in <sSobGroupName> is any of the specified ships.

Example

if SobGroup_AreAnyOfTheseTypes("Player_Ships2", "Vgr_ShipYard, Vgr_MissileCorvette, Vgr_LaserCorvette, Vgr_LanceFighter, Vgr_Interceptor, Vgr_InfiltratorFrigate, Vgr_HeavyMissileFrigate, Vgr_Carrier, Vgr_Bomber, Vgr_AssaultFrigate")==0 then ...code... end

Arguments

<sSobGroupName>: the name of the sobgroup.
<sShipTypes>: a comma separated list of ships (e.g., "Hgn_Scout, Hgn_AssaultFrigate, Vgr_Interceptor") where each entry is a ship type.

Related Pages

Function Reference

Comments

Page Status

Updated Formatting? Initial
Updated for HWRM? Initial