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
objTableLuaTablerequiredshowTitleBooleanoptionalplayIntelBooleanoptional
Returns
VoidSource
Declared in the game's script sources at:
scar/objectives.scar