YolkfolkThe Dizzy Fansite 0 logged in0 playing
Community discussion

Auto-Message Move-Ons

Started by OO7Samurai on 29 June 2024 • 553 views

3 posts
#92397

Hi All,

I'm still slowly plugging away at things - slooooowly being the word. To be honest, I'm still only 50/50 on whether there will ever be a release of Ko Tapu Epic Edition - maybe one day :)

So...I'm sure someone must have done it before, but I can't work it out. 

Can you automatically progress messages / conversations - messagepops etc without having to press enter?

It's not critical, but it would be nice at times.

Cheers!

👍 0
#92398

I'm not sure if this will work, but the first thing I'd try is to find the top of HandlerGameUpdate() and modify the line: if(GameGet(G_PAUSE)) return;

I'd add a clause there containing a counter and when the counter reaches whatever, SetKey(KEY_ACTION,1);

Then you set the counter whenever you call a dialog and hopefully that'll pop the message without you touching the action key.

👍 1
#92399

Ace - Thanks @noggin-the-nog. 

I couldn't get that to work....but your answer got me thinking about where the dialogue functions looked for KEY_ACTION, so I started digging into the dialog.gs file...eventually I banged this in: 

 

func DialogRun()
{
while(true)
{
stop;
fastskipper = ObjFind(777227);
if (ObjGet(fastskipper,O_STATUS)==1)
{ WaitFrames(15); ObjSet(fastskipper,O_STATUS,0); break; }
if( GetKeyHit(KEY_MENU) || GetKeyHit(KEY_ACTION) ) break;
}
ClearKeys();
}

(The bit in bold is what I've put in)

So now I just set 777227 to Status '1' just before any line of dialogue I want to auto-move-on - sorted! 👌👌

Cheers!!

👍 1