PDA

View Full Version : AI sitting



BurningGeneral
11-29-2009, 03:16 PM
I didn't found somewhere something about how to create an animated AI who chages the animation.

I want to create an AI who is sitting on the ground until you use his Trigger. Then he should stand up and begin to talk to you.

I already tried to use "playanim" and typed in "-1" - so that the animation loops. I used "standup" in the trigger.
If I come to talk to him, he first sits on the ground. But when I use his trigger, he stands up and sits down again. He should stand up and just stay there instead of sitting down again!

I change a lot of parameters and also used a script but it doesn't work.

(Summed up: I want to change an animation from "loop" to another "single animation".)

I hope for helphttp://forums.ubi.com/groupee_common/emoticons/icon_frown.gif

seir
11-30-2009, 12:35 AM
Use behavior "bhv_SitOnGround". You will need to type the "sit" and "stand up" animation names and set "EndContition".

BurningGeneral
11-30-2009, 06:09 AM
Thank's a lot but where do I have to type the "bhv_SitOnGround" behavior? What is the name of the act_"".

seir
11-30-2009, 08:14 AM
Check the video tutorials to get what are behaviors:

http://www.cojmodding.com/tuts...oints_fightnodes.zip (http://www.cojmodding.com/tuts/tutorial_AI_waypoints_fightnodes.zip)


You can set few behaviors for AI in waypoints. This is how it works...

BurningGeneral
12-01-2009, 06:27 AM
Thank you a lot!
Well, sry for having not watched all the tutorials.
Thanks!