Quest Editor
Search
⌃K
Docs Home
Guides
Creating a Quest
Creating an Enemy
Creating a Location
Logic Blocks
If Block
Equals Block
And/Or Block
Not Block
Boolean Block
Null Block
Ternary Block
List Blocks
Create Empty List Block
Length Of List Block
Create List Block
Find Index Block
Is Empty Block
Get In List Block
Edit In List Block
Split String Block
Text Blocks
Text Block
Quest Blocks
Quest Block
Continue Check Block
Dialog Block
Take Item Block
Has Item Block
Option Block
Option Dialog Block
Promise Block
Stage Block
Switch Stage Block
Update Quest Block
End Quest Block
Start Quest Block
Send Message Block
User Inventory Block
NPC Block
Set Adventure Block
Remove Adventure Block
New Adventure Class Block
Item Blocks
Dummy Item Block
Weapon Item Block
Healing Item Block
Helmet Item Block
Chestplate Item Block
Boots Item Block
Ring Item Block
Import Blocks
Import Adventure Block
Enemy Blocks
New Enemy Block
Locations Blocks
New Location Block
Search Data Block
Travel Data Block
Powered By GitBook

Promise Block

Promise Block
The promise block adds a .then() function to the block it is attached to.
If a compatible block is added inside the promise wrapper, it will return a promise so you can attach another promise block to the current one.

Parameters

Name
Usage
Type
Other
returns
The variables the promise should get
Text
​
Quest Blocks - Previous
Option Dialog Block
Next - Quest Blocks
Stage Block
Last modified 4yr ago