[SOLVED] Character say something WHILE walking

Started by SirLean, Sat 22/07/2023 17:33:26

Previous topic - Next topic

SirLean




When I click that book, my character is supposed to say something and then walk towards it and grab it

So basically I'd like my character to say that WHILE walking towards the object (book)

Is is possible?

thanks!

Tomags

Hi SirLean,

You may want to try with the instruction "SayBackground", that would let the character talk while walks?

Ie, I'd expect the below to take your character to a place while talking:

Code: ags
player.SayBackground("Un libro... veré de qué se trata...");
player.walk(300,160,eNobBock);


Regards,
Tomas

SirLean

Yay cool, it worked, thanks Tomas (but I used "eBlock", otherwise with eNoBlock the character doesn't walk to the object to grab it. Thanks again!

SMF spam blocked by CleanTalk