OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Glamhoth on 28 Dec 2002, 17:07:55

Title: AI Animations
Post by: Glamhoth on 28 Dec 2002, 17:07:55
Hey...
Me and one of my friends, trys to make a "realistic" multiplayer playground...
We dont know how "to make AI's stand attention"
We know its somethink with a "FXStandAtt"
But what do we have to do, to get units stand Attention?

Would be happy to know!
Need all help we can get!

\\Glamhoth  
Title: Re:AI Animations
Post by: The_Milky_Bar_Kid on 29 Dec 2002, 17:53:17
in the init field of the unit you want to stand to attention type:

this switchmove "FXStandAtt"

Hope that helps.
Title: Re:AI Animations
Post by: tai mai shu on 03 Jan 2003, 03:14:54
you cant make a unit do an animation by putting a animation in HIS init field.  youve got to do it with triggers.

in a trigger, make it 10000 by 10000 and make it activated by anybody present.

in the on activation field, put this:             nameofunit switchmove "FXStandAtt"
Title: Re:AI Animations
Post by: Glamhoth on 03 Jan 2003, 13:51:23
Ok thanks tai mai shu...  :D
It worked... Now i just need some kind of a list, where i can see the different "fx"
All the animations...  

\\Glamhoth