askAcceptDeclineNoExit Lua export - VanaDev/Vana GitHub Wiki

askAcceptDeclineNoExit

Script Type(s): NPC Scripts

Category: NPC Exports

Return(s):

  • answer: number
Argument(s):
  • N/A
Notes: Sends an accept/decline dialog (typically used in quest scripts) to the player. Prevents them from clicking the exit button they could click normally. Returns answer_accept or answer_decline when they click accept or decline, respectively.
⚠️ **GitHub.com Fallback** ⚠️