# 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

// L9325
DataTableGetTimer(true, libCOOC_gf_CS_ObjectiveTableString(lp_objective))
// L9407
DataTableGetTimer(true, libCOMI_gf_CM_ObjectiveTimer(lp_objective))
// L9408
DataTableGetTimer(true, libCOMI_gf_CM_ObjectiveTimer(lp_objective))
// L9409
DataTableGetTimer(true, libCOMI_gf_CM_ObjectiveTimer(lp_objective))
// L9413
DataTableGetTimer(true, libCOMI_gf_CM_ObjectiveTimer(lp_objective))
// L9414
DataTableGetTimer(true, libCOMI_gf_CM_ObjectiveTimer(lp_objective))
// L9415
DataTableGetTimer(true, libCOMI_gf_CM_ObjectiveTimer(lp_objective))
// L9418
DataTableGetTimer(true, libCOMI_gf_CM_ObjectiveTimer(lp_objective))
// L9419
DataTableGetTimer(true, libCOMI_gf_CM_ObjectiveTimer(lp_objective))
// L9422
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)))))