Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Krazy on Mon 01/03/2004 08:54:40

Title: Animated Idleness
Post by: Krazy on Mon 01/03/2004 08:54:40
I want to make a non-player character always animating when they are standing still. I tried making their idle animation the animation I wanted but it only plays the first frame  :'(

Could someone please provide help!
Title: Re:Animated Idleness
Post by: Ishmael on Mon 01/03/2004 09:26:36
Consult the SetIdleView command in the manual. (Not sure it is exactly SetIdleView or SetCharacterIdleView) The basic is to set the animation delay to 0, so the set idle animation loops constantly. Like SetIdleView(NPC,VIEW,0); if I remember the paramters right... just replace VIEW with the view number of the characters idle view, and the NPC with the characters script name.