Docs Cookbook
Branching dialogue choice
Dialogue tab: Start ▸ Say ▸ Choice, then a line from each answer to its own Say.
#Without code
- Dialogue tab: Start ▸ Say ▸ Choice, then a line from each answer to its own Say.
- On the NPC, a Trigger When the player presses E, Then Start dialogue.
#Quick code
Where it goes: on the NPC, Event: Player presses E.
local pick = choice("Help me find my cat?", {"Sure", "Not now"})
if pick == "Sure" then
start_quest("cat", "Find the lost cat")
else
popup("Oh. Maybe later then.")
end
Get an email when Voxel Game Maker launches
It's coming to Steam with a launch discount. One email on launch day, the odd progress update, nothing else.