# Value From Data Table (Integer) - Instance

Grammarname from the data table instance instance
FlagsNative | Function

Returns an integer value from a data table instace. Data tables allow you to store and recall values using a string identifier.

# Arguments

  • int [ datatable ] — Instance
  • string — Name

Returns — int

native int DataTableInstanceGetInt(
	int instance,
	string name,
);

Category: Data Table / Instance Version / Load Value

# Examples

# mods/core.sc2mod

NativeLib.galaxy

// L2303
DataTableInstanceGetInt(lp_instance, lp_name)
// L2309
DataTableInstanceGetInt(lp_instance, lp_name)
// L2315
DataTableInstanceGetInt(lp_instance, lp_name)
// L2321
DataTableInstanceGetInt(lp_instance, lp_name)