Function; SobGroup_AreAnySquadronsOutsideDustCloud - HWRM/KarosGraveyard GitHub Wiki

SobGroup_AreAnySquadronsOutsideDustCloud(<sSobGroupName>, <sDustCloudName>)

Description

Returns true if any squadron from <sSobGroupName> is outside <sDustCloudName>.

Example

if SobGroup_AreAnySquadronsOutsideDustCloud("Player_Ships0", "Nebula4_OLD, Nebula4_OLD1, Nebula2_OLD1, Nebula2_OLD2, Nebula2_OLD3, Nebula2_OLD4, Nebula2_OLD5, Nebula2_OLD7, Nebula5_OLD, Nebula7_OLD, Nebula3_OLD, Nebula2_OLD, Nebula8_OLD")==1 then ...code... end

Arguments

<sSobGroupName>: the name of the sobgroup.
<sDustCloudName>: the name of the dustclouds as comma separated strings; dustcloud names are defined in the .level file (see addDustCloud).

Related Pages

Function Reference

Comments

Page Status

Updated Formatting? Initial
Updated for HWRM? Initial