# Value From Data Table (Timer)

Grammarname from the scope|Global/Local data table
FlagsNative | Function

Returns a timer 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 — timer

native timer DataTableGetTimer(bool global, string name);

Category: Data Table / Load Value

# Examples

# mods/starcoop/starcoop.sc2mod

LibCOMI.galaxy

// L9299
DataTableGetTimer(true, libCOOC_gf_CS_ObjectiveTableString(lp_objective))
// L9381
DataTableGetTimer(true, libCOMI_gf_CM_ObjectiveTimer(lp_objective))
// L9382
DataTableGetTimer(true, libCOMI_gf_CM_ObjectiveTimer(lp_objective))
// L9383
DataTableGetTimer(true, libCOMI_gf_CM_ObjectiveTimer(lp_objective))
// L9387
DataTableGetTimer(true, libCOMI_gf_CM_ObjectiveTimer(lp_objective))
// L9388
DataTableGetTimer(true, libCOMI_gf_CM_ObjectiveTimer(lp_objective))
// L9389
DataTableGetTimer(true, libCOMI_gf_CM_ObjectiveTimer(lp_objective))
// L9392
DataTableGetTimer(true, libCOMI_gf_CM_ObjectiveTimer(lp_objective))
// L9393
DataTableGetTimer(true, libCOMI_gf_CM_ObjectiveTimer(lp_objective))
// L9396
DataTableGetTimer(true, libCOMI_gf_CM_ObjectiveTimer(lp_objective))

# mods/starcoop/starcoop.sc2mod

LibCOMU.galaxy

// L4253
DataTableGetTimer(true, ("RiftTimer" + IntToString(libCOMU_gv_cT_VoidRiftCount)))
// L4255
DataTableGetTimer(true, ("RiftTrickleTimer" + IntToString(libCOMU_gv_cT_VoidRiftCount)))
// L11839
DataTableGetTimer(true, ("RiftTimer" + IntToString(FixedToInt(UnitGetCustomValue(lv_rift, 0)))))
// L11840
DataTableGetTimer(true, ("RiftTrickleTimer" + IntToString(FixedToInt(UnitGetCustomValue(lv_rift, 0)))))