Skip to content

Return of Reckoning

Wiki

RoR Wiki

API:AbandonQuest

From RoR Wiki

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