# Value From Data Table (Text Tag)

Grammarname from the scope|Global/Local data table
FlagsFunction

Returns a text tag value from a data table. Data tables allow you to store and recall values using a string identifier.

# Arguments

  • bool<preset::DataScope> — Scope
  • string — Name

Returns — int<preset::TextTag>

int libNtve_gf_ValueFromDataTableTextTag(
	bool lp_scope,
	string lp_name,
);

Category: Data Table / Load Value

# Examples

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/HeroesLib.galaxy:3337

    // Automatic Variable Declarations
    // Implementation
    return libNtve_gf_ValueFromDataTableTextTag(true, libCore_gf__UnitDataName(libCore_ge__UnitDataType_TextTag, lp_unit, lp_index));
}

mods/swarm.sc2modbase.sc2data/TriggerLibs/SwarmLib.galaxy:170

    // Automatic Variable Declarations
    // Implementation
    return libNtve_gf_ValueFromDataTableTextTag(true, libHots_gf__UnitDataName(libHots_ge__UnitDataType_TextTag, lp_unit, lp_index));
}