What's the minimum way to do a Say(sprite)?

Started by eri0o, Tue 16/04/2024 18:55:18

Previous topic - Next topic

eri0o

I want to do a Say(int sprite) method, like extend the character and just do a function that works like say but instead of taking a string it takes a sprite slot.

If it's Lucasarts speech style the sprite is shown alone, if it's Sierra style it's shown inside the textbox.

If the user skips like regular Say are skipped with a mouse click or button it does that. It also is smart and disables for millisseconds and doesn't take skip during this time - exactly like Say does.

What is the minimum amount of code one could do to implement such a thing in script?

SMF spam blocked by CleanTalk