UserFunction; completeObjective - HWRM/KarosGraveyard GitHub Wiki

--------------------------------------------------------------------------------
-- Sets the named objective in the "objectives" table to "complete".
-- Modified version of the function found in the tutorial missions.
-- Arguments:
--    <sObj>: the string name of an objective. Must match a string index in the "objectives" table.
function completeObjective(sObj)
    Objective_SetState(objectives[sObj].id, OS_Complete)
end

Comments

Page Status

Updated Formatting? Initial
Updated for HWRM? Initial

⚠️ **GitHub.com Fallback** ⚠️