What it does
quest.setData sets Data on a quest object. It takes id, k and v.
Signature
quest.setData(id, k, v)Arguments
idkv
Example · generated
function start() { quest.setData('main', 1, 0.5);}quest.setData 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.