OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: TC on 20 May 2005, 21:53:55

Title: Dynamic Expressions
Post by: TC on 20 May 2005, 21:53:55
Hi

Im wondering if anyone can help me as im pretty crap at scripting and tend to mess things up badly  :-[. I really want a script that i can activate on specific units that will detect if there are any enemies within a certain distance, in which case their expression will change to one of either "aggresive", "sad" etc and when they score a kill it will temporarily change to "cynical", "ironic" aggressive etc. And when there are no enemies within a certain distance for their expressions to change every few minutes to one of the positive ones, "smile", normal" happy etc. Also when they are hurt for their expression to change untill they are healed.

Can anybody come up with a script for me? I would be extremely grateful!

Regards
TC
Title: Re:Dynamic Expressions
Post by: StonedSoldier on 23 May 2005, 21:29:10
is it just my copy of OFP of do all the facial expressions look the same anyway, but back to the question in hand, yea, the script would be quite straight forward ill try and give it a go.
Title: Re:Dynamic Expressions
Post by: TC on 23 May 2005, 23:00:29
Thanks! In mine the expressions do change. Id really appreciate it!