Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: StillInThe90s on Sat 11/09/2010 22:22:03

Title: NPCs stop animating when spoken to. (SOLVED)
Post by: StillInThe90s on Sat 11/09/2010 22:22:03
I am trying to make my npcs finish their current animation before a dialgue starts.
This looks horrible since an npcs arm can disappear while he is drinking beer or scratching his head or whatever.
Different "while" combinations has not made any good.

Sorry if this is has been up before. I could not find anything about this on the forum, though.
Title: Re: NPCs stop animating when spoken to.
Post by: GarageGothic on Sun 12/09/2010 00:55:28
You should be able to do a "while (cNpcName.Frame != X) Wait(1);" where X is the transition frame you want, then start the dialog in the next line. Can't see why it wouldn't work.
Title: Re: NPCs stop animating when spoken to.
Post by: StillInThe90s on Sun 12/09/2010 23:39:59
Gee thanks!
I should have figured out that one by myself, but I didn't.
No more disappearing arms!