OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Kyle Sarnik on 06 Oct 2005, 04:45:23

Title: SetFaceAnimation
Post by: Kyle Sarnik on 06 Oct 2005, 04:45:23
Its in the comref, and I tried it out, but it doesn't appear to do anything. The comref says its supposed to set the blink animation... but it doesn't. Anyone ever play around with this command before? It might be usefull to me if I can get it to work right.
Title: Re:SetFaceAnimation
Post by: nominesine on 06 Oct 2005, 11:39:48
I tried it a few times without success, but I never investigated why it didn't work. Maybe it's one of these obsolete commands from ancient OFP history?
Title: Re:SetFaceAnimation
Post by: General Barron on 06 Oct 2005, 21:13:16
Hmm... can't remember where I read it (was one of BIS's com refs I think), but basically this command was made obsolete by the 'setmimic' command. I guess by 'obsolete' they mean 'disabled'.
Title: Re:SetFaceAnimation
Post by: Kyle Sarnik on 06 Oct 2005, 21:25:20
Hmm... can't remember where I read it (was one of BIS's com refs I think), but basically this command was made obsolete by the 'setmimic' command. I guess by 'obsolete' they mean 'disabled'.

That doesn't seem right, SetMimic alters all of the other parts of a units face but not blinking. It would be nice to be able to set the blink animation.  :-\

And SetMimic is too limited, only being able to choose from a handful of expressions, rather than changing the individual parts.
Title: Re:SetFaceAnimation
Post by: The-Architect on 06 Oct 2005, 21:30:09
Why don't you make an addon with a copy of the face with the eyes closed. Not perfect but a workaround.
Title: Re:SetFaceAnimation
Post by: Kyle Sarnik on 07 Oct 2005, 02:35:40
Why don't you make an addon with a copy of the face with the eyes closed. Not perfect but a workaround.

Not really a workaround in my situation. Well its not like I even need a workaround, if it doesn't work then I won't use it...