So for a bit of fun I've been working on integrating an RMMV project into my twitch stream. I'm not too experienced with Javascript and my RMMV knowledge is a little rusty - so I thought I'd turn here for an assist.
It's a pretty simple setup so far but it's borderline functional - The issue I've hit hopefully has a simple solution to those more familiar with RMMV and Javascript, however several hours of online investigation and looking at the game code has yielded little actionable information (At least that I've managed to parse).
I'm seeking a way to allow a command in twitch chat to emulate keypress functions in-game, specifically an ideal method for input emulation.
I can create common event calls for most specific interactions, however I cannot seem to find a way to handle choice, menu and input windows. Are there functions that I'm missing that allow a script call to activate a selection from a choice window by its index? Can I call an input function ('ok', 'up', 'escape' ect.) directly? Or do I have to find every individual choice end-point and call it directly?
How would you do it?
It's a pretty simple setup so far but it's borderline functional - The issue I've hit hopefully has a simple solution to those more familiar with RMMV and Javascript, however several hours of online investigation and looking at the game code has yielded little actionable information (At least that I've managed to parse).
I'm seeking a way to allow a command in twitch chat to emulate keypress functions in-game, specifically an ideal method for input emulation.
I can create common event calls for most specific interactions, however I cannot seem to find a way to handle choice, menu and input windows. Are there functions that I'm missing that allow a script call to activate a selection from a choice window by its index? Can I call an input function ('ok', 'up', 'escape' ect.) directly? Or do I have to find every individual choice end-point and call it directly?
How would you do it?