# 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.stormmod

HeroesLib.galaxy

// L3337
libNtve_gf_ValueFromDataTableTextTag(true, libCore_gf__UnitDataName(libCore_ge__UnitDataType_TextTag, lp_unit, lp_index))

# mods/swarm.sc2mod

SwarmLib.galaxy

// L170
libNtve_gf_ValueFromDataTableTextTag(true, libHots_gf__UnitDataName(libHots_ge__UnitDataType_TextTag, lp_unit, lp_index))