What it does
quest.setActive sets Active on a quest object. It takes id.
Signature
quest.setActive(id)Arguments
id
Example · generated
function start() { quest.setActive('main');}quest.setActive 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.