Skip to content

Return of Reckoning

Wiki

RoR Wiki

API:AbandonQuest

From RoR Wiki
Revision as of 19:39, 16 October 2026 by Maintenance script (talk | contribs) (UI Lua API import (WAR 1.4.8))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

UI Lua API · Quest functions
Version: WAR 1.4.8

Asks the server to abandon a quest.

AbandonQuest(questId)

Arguments

questId
number – Id of a quest in the player's quest log.

Returns

Nothing.

Details

  • questId is converted to a 16-bit integer and sent with an abandon request. The client does not check the quest log first; the server decides.
  • The stock Tome of Knowledge asks for confirmation before calling it.

Errors

None besides the generic Invalid Parameters message when the argument is missing or not a number.

Example

From ea_tomeofknowledge/source/tomewindow_questjournal.lua:

function TomeWindow.DoAbandon()
    AbandonQuest (TomeWindow.QuestJournal.currentQuestData.id)

See also