askQuiz Lua export - VanaDev/Vana GitHub Wiki

askQuiz

Script Type(s): NPC Scripts

Category: NPC Exports

Return(s):

  • value: text
Argument(s):
  • quizType: number
  • objectId: number
  • correct: number
  • questions: number
  • time: number
Notes: Sends a quiz prompt dialog to the player. Returns the value they input. Quiz type can be quiz_npc, quiz_mob, or quiz_item.
⚠️ **GitHub.com Fallback** ⚠️