Begginer: Pick up animation [SOLVED]

Started by Irathril, Thu 24/09/2009 13:13:17

Previous topic - Next topic

Irathril

Hi all.

I've just started at AGS and I'm a completely noob. I've begun a game and I'm stuck in a script problem.
I've designed many sprites for a "pick up" animation. The main problem is that I just don't know how to
set that animation the standard one to pick up actions.

For example, i want my char to pick up a pillow from a bed. All's ok... the char goes near the bed, the pillow
disappears from room and appears on my inventory. But I want him to stretch the arm to make it a bit more
realistic.

Could someone explain me how can I do it? I'm sure it's pretty simple, but i've searched in many places (even
in this forum) and I haven't found anything.


Thx for the help :)

NsMn

There's no such thing, you'll need to make a acostum funtion that calls the animation.

Irathril

Quote from: NsMn on Thu 24/09/2009 13:24:37
There's no such thing, you'll need to make a acostum funtion that calls the animation.

I supposed so. Which function should I use?

Matti

Look up character.Animate in the manual.

Irathril

Quote from: Mr Matti on Thu 24/09/2009 14:19:20
Look up character.Animate in the manual.

found & Solved. Thanks Matti

SMF spam blocked by CleanTalk