Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Gamemakur on Fri 23/12/2005 22:12:46

Title: Blink?
Post by: Gamemakur on Fri 23/12/2005 22:12:46
How do you make your character blink. I already have the views, I just need to know how to make then blink. I looked everywhere on this forum and could not find the answer. Please Help.
Title: Re: Blink?
Post by: Candle on Fri 23/12/2005 22:15:08
BlinkView property
(Formerly part of SetCharacterBlinkView, which is now obsolete)

int Character.BlinkView

Gets/sets the character's blinking view. To stop the character from blinking, set this to -1.
The BlinkInterval property sets how often the blinking animation is played.

Example:

character[EGO].BlinkView = 10;
character[EGO].BlinkInterval = 160;

will change the character EGO's blink view to view 10, and play the animation every 4 seconds.
Title: Re: Blink?
Post by: strazer on Fri 23/12/2005 22:19:45
It's important to note that this refers to the Sierra-style talking portraits, not the character sprites themselves.
If you're interested in having your character sprites blink, take a look at this (http://www.adventuregamestudio.co.uk/yabb/index.php?topic=22930.msg282215#msg282215).
Title: Re: Blink?
Post by: Candle on Fri 23/12/2005 22:31:43
Thanks for pointing this out strazer.