Changes between Initial Version and Version 1 of Ticket #14588, comment 3


Ignore:
Timestamp:
Aug 20, 2024, 5:58:16 PM (3 months ago)
Author:
eriktorbjorn

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #14588, comment 3

    initial v1  
    2222Either way, at some point it will have to look at `gMsgType`, which can be either 2 or 3. I believe 2 is speech, while 3 is speech + text. From that perspective, it looks to me as if it's `Narrator::say()` that's the interesting part. A breakpoint in what the debugger calls `talkTitleNar::say()` seems to trace the call back through `Messager::sayNext()`, `larryMessager::sayNext()`, and `larryMessager::say()` so maybe I am on the right track after all.
    2323
     24For reference, this is what `Narrator::say()` does:
     25
     26{{{
     27                (if (& gMsgType $0001)
     28                        (self startText: theBuf)
     29                )
     30                (if (& gMsgType $0002)
     31                        (self startAudio: theBuf)
     32                )
     33
     34}}}
     35
    2436`Narrator::say()` is a larger method, so it may be easier to hide a script patch in. I just have no idea what it could test to detect that the text has no corresponding audio to play.