OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: M_S_Holder on 01 Jan 2003, 18:10:48

Title: setting voices
Post by: M_S_Holder on 01 Jan 2003, 18:10:48
How do you set a certain voice for a certain unit?

Is it like  the "setface" command?

Title: Re:setting voices
Post by: Black_Feather on 02 Jan 2003, 01:56:21
you need to put this in your description.ext file

class CfgIdentities
{

class guy
{
name = "guys name";
face = "face1";
glasses = "none";
speaker = "John";
pitch = 1.00;
};

};


change the speaker line to whatever voice you want, then put this in the units init field

this setidentity "guy";
Title: Re:setting voices
Post by: M_S_Holder on 02 Jan 2003, 03:07:30
Got it, thanks