# Catalog Entry Scope

Grammar — Catalog catalog entry entry scope
FlagsNative | Function

Returns the scope (essentially, the type) of the specified entry. Use catalog lookup functions to retrieve a data value or other information from the game data.

# Arguments

  • int [ preset::CatalogType ] — Catalog
  • string [ catalogentry ] — Entry

Returns — string [ catalogscope ]

native string CatalogEntryScope(int catalog, string entry);

Category: Catalog / Lookup

# Examples

# campaigns/voidstory.sc2campaign

VoidCampaignLib.galaxy

// L5734
CatalogEntryScope(c_gameCatalogAbil, lp_ability)
// L5735
CatalogEntryScope(c_gameCatalogAbil, lp_ability)
// L5746
CatalogEntryScope(c_gameCatalogAbil, lp_ability)
// L5747
CatalogEntryScope(c_gameCatalogAbil, lp_ability)

# mods/missionpacks/novacampaign.sc2mod

LibNCMI.galaxy

// L3233
CatalogEntryScope(c_gameCatalogMover, lp_mover)

# mods/starcoop/starcoop.sc2mod

LibCOMI.galaxy

// L7709
CatalogEntryScope(c_gameCatalogReward, lv_itReward)
// L7716
CatalogEntryScope(c_gameCatalogReward, lv_appReward)
// L7753
CatalogEntryScope(c_gameCatalogReward, lv_itReward)
// L25374
CatalogEntryScope(c_gameCatalogAbil, lv_itActive)
// L25448
CatalogEntryScope(c_gameCatalogAbil, lv_itActive)
// L30037
CatalogEntryScope(c_gameCatalogReward, lv_itReward)
// L30048
CatalogEntryScope(c_gameCatalogReward, lv_appReward)

# mods/starcoop/starcoop.sc2mod

LibCOMU.galaxy

// L1667
CatalogEntryScope(c_gameCatalogBehavior, UnitBehaviorGet(lp_killer, lv_behaviorIndex))

# mods/starcoop/starcoop.sc2mod

LibCOOC.galaxy

// L3450
CatalogEntryScope(c_gameCatalogAbil, lp_ability)
// L3451
CatalogEntryScope(c_gameCatalogAbil, lp_ability)
// L3462
CatalogEntryScope(c_gameCatalogAbil, lp_ability)
// L3463
CatalogEntryScope(c_gameCatalogAbil, lp_ability)

# mods/warcoop/warclassicsystem.sc2mod

WarClassicSystem.galaxy

// L123
CatalogEntryScope(c_gameCatalogDataCollection, lv_itEntry)
// L149
CatalogEntryScope(c_gameCatalogItem, lv_itemEntry)
// L154
CatalogEntryScope(c_gameCatalogItem, lv_itemEntry)
// L154
CatalogEntryScope(c_gameCatalogItem, lv_itemEntry)
// L175
CatalogEntryScope(c_gameCatalogItem, lv_itemEntry)
// L180
CatalogEntryScope(c_gameCatalogItem, lv_itemEntry)
// L180
CatalogEntryScope(c_gameCatalogItem, lv_itemEntry)
// L503
CatalogEntryScope(c_gameCatalogBehavior, lv_itBuff)
// L1351
CatalogEntryScope(c_gameCatalogBehavior, lv_itBehavior)

# mods/warcoop/warclassicsystem.sc2mod

WarClassicTactical.galaxy

// L181
CatalogEntryScope(c_gameCatalogItem, lv_itemLink)

# mods/warcoop/warcoopdata.sc2mod

WarCoopData.galaxy

// L1642
CatalogEntryScope(c_gameCatalogDataCollection, lv_abilDataCollectionLink)
// L2365
CatalogEntryScope(c_gameCatalogDataCollection, lp_dataCollection)