Hi everyone, I'm now working on a project that uses ChatGPT in RMMZ. I use a game variable (say \V[1]) to store a response returned by ChatGPT. As ChatGPT provides streaming option to return the response words one by one, the variable \V[1] is expected to change frequently.
I want the "Show Text" event to display the updated \V[1] everytime when the \V[1] changes, till a "response end" signal is received and \V[1] becomes determinstic. I could configure some switches to implement these conditionals, but what confused me most is the Show Text event. When use this event, the message window won't continue or disappear before we click left mouse or something else. This means I cannot use loop to repeatedly show the message window and automatically update the changed text \V[1].
So I'm wondering whether I could realize this dynamic text function just using some built-in events in RMMZ, or whether I have to do some plugin work to implement it (sorry, I'm very new to RMMZ!). Thanks!
Note: I've known a plugin ChatGPT_APIMZ made by kotonoha*. It did a great work, and I noticed that it directly draw an HTML element as the customized message window in the game. What I'm working on is a little different from directly calling OpenAI's API in the plugin, so I'm here to find some built-in solutions 🙂
I want the "Show Text" event to display the updated \V[1] everytime when the \V[1] changes, till a "response end" signal is received and \V[1] becomes determinstic. I could configure some switches to implement these conditionals, but what confused me most is the Show Text event. When use this event, the message window won't continue or disappear before we click left mouse or something else. This means I cannot use loop to repeatedly show the message window and automatically update the changed text \V[1].
So I'm wondering whether I could realize this dynamic text function just using some built-in events in RMMZ, or whether I have to do some plugin work to implement it (sorry, I'm very new to RMMZ!). Thanks!
Note: I've known a plugin ChatGPT_APIMZ made by kotonoha*. It did a great work, and I noticed that it directly draw an HTML element as the customized message window in the game. What I'm working on is a little different from directly calling OpenAI's API in the plugin, so I'm here to find some built-in solutions 🙂