SetTalkSpeed?

Started by Nine Toes, Mon 02/04/2007 17:55:41

Previous topic - Next topic

Nine Toes

I could have swore that I saw, in an earlier version of AGS, that there was some kind of scripting command that allowed you to set the speed of the character's talking animation (I think that's what it was for, anyway...).

I've been looking through the manual, but I can't seem to find it again.  Does anyone know what I'm talking about?
Watch, I just killed this topic...

Khris

It's done by changing the global var game.talkanim_speed. (Default value is 5.)

Nine Toes

Awesome.  Thank you.
Watch, I just killed this topic...

JpGames

Hi, its not my thread but i have another question about this.

Where i must declare that? In the global script, but where inside the global script?

Thanks

JpGames

Nine Toes

I suppose that you'd be able to set it just about anywhere, but the logical place to put it would be at the top of the global script, under "function game_start()".  That way, it gets set to the speed you want right at the beginning of the game.
Watch, I just killed this topic...

SMF spam blocked by CleanTalk