setIdentity: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (class CfgIdentities was outside of the example box)
mNo edit summary
Line 30: Line 30:
<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
<dd class="notedate">Posted on August 4, 2006 - 11:59</dd>
<dt class="note">'''[[User:Hardrock|hardrock]]'''</dt><dd class="note">''Notes from before the conversion:''


The definition format in the [[Description.ext]] file is:
The definition format in the [[Description.ext]] file is:
class CfgIdentities
 
{
<pre>class CfgIdentities
class John_Doe
{
{
    class John_Doe
name="John Bartholemew Doe";
    {
face="Face20";
        name = "John Bartholemew Doe";
glasses="None";
        face = "Face20";
speaker="Dan";
        glasses = "None";
pitch=1.1;
        speaker = "Dan";
};
        pitch = 1.1;
}; Name can be any string
    };
};</pre>
 
Name can be any string


Face can take any of the following values:
Face can take any of the following values:
Line 53: Line 59:


Speaker determines which voice is used and can take any of the following values:
Speaker determines which voice is used and can take any of the following values:
"Adam","Dan","George","Greg","John","Jonah","Marc","Patrick","Paul","Peter","Rich","Rob","Ted","Tom","Nikolai","Vitaliy","Sergey","Oleg",
 
"Ruslan","Aleksei","Andrei","Boris","Georgiy","Vadim","Vladimir","Ivan"
* "Adam"
* "Dan"
* "George"
* "Greg"
* "John"
* "Jonah"
* "Marc"
* "Patrick"
* "Paul"
* "Peter"
* "Rich"
* "Rob"
* "Ted"
* "Tom"
* "Nikolai"
* "Vitaliy"
* "Sergey"
* "Oleg"
* "Ruslan"
* "Aleksei"
* "Andrei"
* "Boris"
* "Georgiy"
* "Vadim"
* "Vladimir"
* "Ivan"


Pitch sets the tone of voice. 1.0 for normal; < 1.0 for deep; >1.0 for high pitched
Pitch sets the tone of voice. 1.0 for normal; < 1.0 for deep; >1.0 for high pitched
</dd>
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>

Revision as of 13:59, 4 August 2006

Hover & click on the images for description

Description

Description:
Set identity of person. Identities are defined in Description.ext of the mission or campaign.
Groups:
Uncategorised

Syntax

Syntax:
person setIdentity identity
Parameters:
person: Object
identity: String
Return Value:
Nothing

Examples

Example 1:
soldier1 setIdentity "John_Doe"

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Posted on August 4, 2006 - 11:59
hardrock
Notes from before the conversion: The definition format in the Description.ext file is:
class CfgIdentities
{
    class John_Doe
    {
        name = "John Bartholemew Doe";
        face = "Face20";
        glasses = "None";
        speaker = "Dan";
        pitch = 1.1;
    };
};

Name can be any string

Face can take any of the following values:

Male: "Face1"... to "Face52", "Face99" & "FaceR01" to "Face R04"

Female: "Eva", "Kamila", "Lada", "Lucie", "Marketa" & "Nada"

Glasses can take the following values: "None", "Spectacles" & "Sunglasses"

Speaker determines which voice is used and can take any of the following values:

  • "Adam"
  • "Dan"
  • "George"
  • "Greg"
  • "John"
  • "Jonah"
  • "Marc"
  • "Patrick"
  • "Paul"
  • "Peter"
  • "Rich"
  • "Rob"
  • "Ted"
  • "Tom"
  • "Nikolai"
  • "Vitaliy"
  • "Sergey"
  • "Oleg"
  • "Ruslan"
  • "Aleksei"
  • "Andrei"
  • "Boris"
  • "Georgiy"
  • "Vadim"
  • "Vladimir"
  • "Ivan"

Pitch sets the tone of voice. 1.0 for normal; < 1.0 for deep; >1.0 for high pitched

Bottom Section