spacer graphic
spacer graphic
Montage of games AGS Logo
spacer graphic

 

spacer graphic
Menu
spacer graphic Home
About
News
Features
Download AGS
spacer graphic Games 
Games main page
Award Winners
Picks of the month
Short games
Medium length games
Full length games
In Production
Hints & Tips
Community
Forums
AGSers World Map
Member websites
Chat
Resources
Tutorials
FAQ
Knowledge Base
Downloads
Links
AGS-related links
* AGS Manual
  * Scripting
    * Character functions and properties

SpeechAnimationDelay property

int Character.SpeechAnimationDelay;

Gets/sets the character's speech animation delay, as set in the editor. This specifies how many game loops each frame of the character's speech animation is shown for.

NOTE: This property is ignored if lip sync is enabled.

NOTE: This property cannot be used if the backwards compatibility option "Old-style game-wide speech animation speed" is enabled in the General Settings. In that case, the legacy game.talkanim_speed setting is used instead.

Example:

player.SpeechAnimationDelay = 4;
will change the player character's speech animation speed to 4.

Compatibility: Supported by AGS 3.1.2 and later versions.

See Also: Character.AnimationSpeed, Character.SpeechView, Game.TextReadingSpeed


User comments and notes
There are currently no user comments on this page.
The user comment facility is currently disabled.