OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: PJK on 25 Jan 2003, 14:13:05

Title: How I add voice by script?
Post by: PJK on 25 Jan 2003, 14:13:05
Hello

I want to add voice to certain unit by script. Actually I can add a voice, but how I add it to certain person?

I use playSound "Filename" in script so I hear voice just when it should be hear, but voice don't come there where it should be. Can I add sound to person by script so also waveToLip effect can be seen. Or do I have to add trigger or waypoint to do this ?

PJK
Title: Re:How I add voice by script?
Post by: PJK on 25 Jan 2003, 14:42:17
OK, I found the way...

So if there is someone who read this and don't know yet how to do this, the answer is here:

Unitname Say "Soundfile"

PJK