Can Python search all say statements between two labels?
Posted: Tue Nov 21, 2023 3:31 am
I'm working on a scene viewer that would, among other things, be able to list scenes that contain a word or phrase.
The idea is that every scene would start with a label; then if I could use python to search for the term between that label and the next, if the term appears, python would return that label (and therefore scene) as one that the user might wish to view.
I have read about the Dialogue History system, and it looks like it may have potential, but as far as I understand, it seems to be limited by the config.history_length variable. Also, the HistoryEntry class does not have a label field.
Anyway, as always, any ideas or suggestions (including bad ones) are most welcome!
The idea is that every scene would start with a label; then if I could use python to search for the term between that label and the next, if the term appears, python would return that label (and therefore scene) as one that the user might wish to view.
I have read about the Dialogue History system, and it looks like it may have potential, but as far as I understand, it seems to be limited by the config.history_length variable. Also, the HistoryEntry class does not have a label field.
Anyway, as always, any ideas or suggestions (including bad ones) are most welcome!