benilla-re systems structs docs

Script::GetQuestLogQuestText

function · ui · orchestration

Address
0x4dff20 · 215 bytes, up to 0x4dfff6
Signature
int __fastcall (lua_State *L)
Meaning
Returns the details and objectives text of the selected quest
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 5

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