Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: just_paranoic on Thu 04/11/2004 11:59:59

Title: get-down-loop on "pickup"
Post by: just_paranoic on Thu 04/11/2004 11:59:59
hey, this is an easy one:
I want my character to to kneel down or to bend down, when he's picking up SOME objekts. how do I do this? I tried to make new loops for that, but they were already declared as something (f.e. up,down etc....I already have those, this was just an example)
so, hot to tell my character to get down while taking theese objects???
Title: Re: get-down-loop on "pickup"
Post by: Ashen on Thu 04/11/2004 12:18:06
Look these up:
   SetCharacterView ();
   AnimateCaharacter();
   ReleaseCharacterView();

If you're using the Interaction Editor:
  Character - Quick animation
does the same thing.
Basicly, you'll need to set up a new view to hold the kneel down loop (or loops, if you want one for each direction), then switch to that view to run the  animation.

I think that's the 'Proper' way to do it, but you could set your character to 'no diagonal loops' on the character options screen, and then use loops 4-7 of the walking view to hold the kneeling animation. Or, if you have diagonal loops, loops 8-15 can hold other actions.
Title: Re: get-down-loop on "pickup"
Post by: just_paranoic on Thu 04/11/2004 12:38:58
great thx man, the one with the Interaction Editor worked out pretty well. thx a lot.