ScarDoc

Start typing to search the SCAR reference.

Function
Objective

Objective_AddTimerBar

Adds a Timer bar for objective timers. Can be removed with Objective_RemoveTimerBar or completing/failing the objective

On this page
Objective_AddTimerBar(objTable, barIndex, text)

Description

Requires an Objective_StartTimer to work.

Parameters

  • objTableLuaTablerequired
  • barIndexIntegerrequired
  • textString/LocIDrequired

Returns

ElementID

Source

Declared in the game's script sources at:

scar/objectives.scar