benilla-re systems structs docs

Script::IsCurrentQuestFailed

function · ui · orchestration

Address
0x4e0960 · 120 bytes, up to 0x4e09d7
Signature
int __fastcall (lua_State *L)
Meaning
Returns 1 when the selected quest has failed, else nil
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 6

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