Search found 2 matches
- Sat Apr 13, 2024 3:21 am
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Accessing the content of say statement inside character callback?
- Replies: 2
- Views: 274
Re: Accessing the content of say statement inside character callback?
Thank you for that link! I actually just got it to work using the function renpy.last_say() :) In case somebody comes along in the future and wonders how exactly: def callbop(event, char, interact=True,**kwargs): if not interact: return what = renpy.last_say().what if event == "begin" and ...
- Fri Apr 12, 2024 2:21 pm
- Forum: Ren'Py Questions and Announcements
- Topic: [SOLVED] Accessing the content of say statement inside character callback?
- Replies: 2
- Views: 274
[SOLVED] Accessing the content of say statement inside character callback?
Hello! I wrote a character callback function following the example listed under https://www.renpy.org/doc/html/character_callbacks.html : init python: import functools def callbop(event, char, interact=True,**kwargs): if not interact: return if event == "begin" and renpy.showing(char): ren...