ScarDoc

Start typing to search the SCAR reference.

Function
Objective

Objective_Complete

Completes an objective and removes it from the list (unless it is a sub-objective, in which case it is marked as complete but stays visible until the parent objective is finished)

On this page
Objective_Complete(objTable, showTitle, playIntel)

Description

Automatically removes any elements added with Objective_AddUIElements(). The showTitle and playIntel flags let you control whether the titlecard and Intel_Complete event are played (default: true).

Parameters

  • objTableLuaTablerequired
  • showTitleBooleanoptional
  • playIntelBooleanoptional

Returns

Void

Source

Declared in the game's script sources at:

scar/objectives.scar