benilla-re systems structs docs

Script::SetAbandonQuest

function · ui · orchestration

Address
0x4dfb50 · 13 bytes, up to 0x4dfb5c
Signature
int __fastcall (lua_State *L)
Meaning
Remembers the selected quest as the one to abandon
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/questlogverbs#selected-quest-text

Finding: Selected quest text in ui: quest log verbs on the selected quest

GetQuestLogQuestText() returns the details text and then the objectives text of the selected quest, each expanded for the player ($ macros) into a 0x400 byte buffer, or two nils when its template is not cached. GetAbandonQuestName() returns the title of the quest set by SetAbandonQuest() (the selected id copied to 0xbb7484), or nil. IsCurrentQuestFailed() returns 1 when the selected quest's slot has the failed bit or its expiry latch is set, else nil, and nil with no player or no selection.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 0

None by a direct call or jump.

Calls and jumps by a bare address, from tables/calls.tsv.