Function; SobGroup_GroupInGroup - HWRM/KarosGraveyard GitHub Wiki

SobGroup_GroupInGroup(<sSourceSobGroup>, <sQuerySobGroup>)

Description

Returns 1 if any member of sQuerySobGroup is in sSourceSobGroup, else 0.

Example

-- if `"my-group"` is contained within `"Player_Ships0"`, do stuff:
if (SobGroup_GroupInGroup("Player_Ships0", "my-group") == 1) then
    -- do stuff...
end

Arguments

Arg Type Description
sSourceSobGroup string Source group to search within.
sQuerySobGroup string Group to look for within sSourceSobGroup

Related Pages

Function Reference

Comments

Page Status

Updated Formatting? Yes
Updated for HWRM? Initial