What it does
quest.updateObjective takes questId, objId and progress. progress is optional.
Signature
quest.updateObjective(questId, objId, progress?)Arguments
questIdobjIdprogressoptional
Example · generated
function start() { quest.updateObjective('main', 'main');}quest.updateObjective is called with values of the shape its signature asks for. The code sits in start(), which the engine calls once, when the entity spawns.