# 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.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:2303

    // Automatic Variable Declarations
    // Implementation
    return DataTableInstanceGetInt(lp_instance, lp_name);
}

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:2309

    // Automatic Variable Declarations
    // Implementation
    return DataTableInstanceGetInt(lp_instance, lp_name);
}

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:2315

    // Automatic Variable Declarations
    // Implementation
    return DataTableInstanceGetInt(lp_instance, lp_name);
}

mods/core.sc2modbase.sc2data/TriggerLibs/NativeLib.galaxy:2321

    // Automatic Variable Declarations
    // Implementation
    return DataTableInstanceGetInt(lp_instance, lp_name);
}