Posted: Wed Oct 12, 2022 12:25 am Post subject:
Re: TS++ Project: Questions
GREEN wrote:
How to Intercept Text Messages usually shown top left ?
Related to MessageListClass ?
Will it be something like TSPaintTextMessage() and it needs be detoured?
Looking for clues at:
tspp_audio_intercept.cpp
tspp_definitions.cpp
Hi there!
I'm not quite sure I understand your question, are you interested in how to display a custom message to the top left of the screen? (which you correctly identified uses MessageListClass). QUICK_EDIT
i want to intercept texts including mission and multiplayer chat.
and then draw them later somewhere else.
i have not found yet where to hook tho.
MessageListClass::Draw will pickup and render pending messages to the screen. If you wish to have them draw elsewhere, you would need to either modify the MessageX and MessageY values of the class, or completely reimplement that function to perform the desired drawing style. QUICK_EDIT
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum