Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Oasis on Thu 30/03/2006 23:39:06

Title: Help with object animating
Post by: Oasis on Thu 30/03/2006 23:39:06
I'm creating my first game so im not really used to the software yet. I'm trying to animate this object, but everytime i put the correct loops etc in, it keeps saying you havent assigned the objects to any views, but i have, and its REALLY ANNOYING ME!!!!!!!! HELLLLPPPPPPP!!!!!!!!!!
Title: Re: Help with object animating
Post by: RickJ on Fri 31/03/2006 00:13:26
You haven't said how you are setting the view but it is necessary to set the view by executing an instruction.  In the script you must use the following function to set the view before animating an object.

Object.SetView(int view, optional int loop, optional int frame)

I you're doing everything from the interaction editor then you must do "Objct - Set View Number" and then specify the correct veiw number in the form.

Hope this helps.
Title: Re: Help with object animating
Post by: Oasis on Fri 31/03/2006 09:41:46
YAY it works! Thanks alot, i can finally get on with making my game!!!!! That was really helpful! THANK YOU!
Title: Re: Help with object animating
Post by: Ashen on Fri 31/03/2006 12:15:35
So what was the problem? (In case anyone else has the same one in the future.)
Title: Re: Help with object animating
Post by: Oasis on Fri 31/03/2006 13:55:12
The problem was that i wasnt setting the view and object number first!