ScarDoc

Start typing to search the SCAR reference.

Function
Objective

Objective_SetCounter

Sets a counter that is associated with this objective in the UI. You can provide a 'maximum' so that it shows up as \"1 of 5\"

On this page
Objective_SetCounter(objTable, current, maximum)

Description

Sets a counter that is associated with this objective in the UI. You can provide a 'maximum' so that it shows up as \"1 of 5\"

Parameters

  • objTableLuaTablerequired
  • currentFloatrequired
  • maximumFloatoptional

Returns

Void

Source

Declared in the game's script sources at:

scar/objectives.scar