CreateQuest

Method

Creates a new quest.

Definition

IQuest CreateQuest(string name, string description, bool startAutomatically, bool saveUserProgress, bool tasksAreOrdered, bool celebrateOnComplete)
IQuest CreateQuest(string name, string description, bool startAutomatically, bool saveUserProgress, bool tasksAreOrdered, bool celebrateOnComplete)

Returns IQuest

Parameters

ParameterDescription
string name

Name of the quest.

string description

Description of the quest.

bool startAutomatically

Does quest start automatically?

bool saveUserProgress

Should progress be saved?

bool tasksAreOrdered

Should tasks be completed one at a time, sequentially?

bool celebrateOnComplete

If true, plays confetti VFX surrounding the local avatar upon quest completion