Help with NPC animation.

Started by holmberg, Sat 27/08/2005 08:40:54

Previous topic - Next topic

holmberg

I have a NPC inside a bar who is holding a cigarette. I want the smoke from it to animate. I have made a view with the animation.

I tried to make it the characters idle animation, but nothing happens.

What should i do for this NPC animation to loop nonstop?

Ashen

1. If you set it as the idle view in the editor, keep in mind that it'll only run once, every 30 (I think) seconds. You could try changing it in-game, with a delay of 0 ( Character - Set idle animation (CHARID, VIEW, 0) in the interaction editor, or character[CHARID].SetIdleView(VIEW, 0); / SetCharacterIdle (CHARID, VIEW, 0); depending on which AGS you're using), which would make it loop constantly.

2. Look up Character.Animate() / AnimateCharacterEx(). (Or, RTFM)
I know what you're thinking ... Don't think that.

SMF spam blocked by CleanTalk