setIdentity: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (see also)
(Comments cleanup)
Line 1: Line 1:
{{Command|= Comments
{{Command|Comments=
____________________________________________________________________________________________
____________________________________________________________________________________________


| ofp |= Game name
| ofp |Game name=


|1.00|= Game version
|1.00|Game version=
____________________________________________________________________________________________
____________________________________________________________________________________________


| Set identity of person.
| Set identity of a person.
Identities are defined in [[Description.ext]] of the mission or campaign. For a list of available faces, glasses and speakers check [[:Category:CfgIdentities]]. |= Description
Identities are defined in [[Description.ext#CfgIdentities|Description.ext]]; for a list of available values see [[:Category:CfgIdentities|CfgIdentities]]. |Description=
____________________________________________________________________________________________
____________________________________________________________________________________________


| person '''setIdentity''' identity |= Syntax
| person [[setIdentity]] identity |Syntax=


|p1= person: [[Object]] |= Parameter 1
|p1= person: [[Object]] |Parameter 1=
|p2= identity: [[String]] |= Parameter 2
|p2= identity: [[String]] |Parameter 2=


| [[Nothing]] |= Return value
| [[Nothing]] |Return value=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>_soldier1 [[setIdentity]] "MyLittleSoldier";</code> |= Example 1
|x1= <code>_soldier1 [[setIdentity]] "MyLittleSoldier";</code> |Example 1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[setFace]], [[setSpeaker]], [[loadIdentity]],[[lockIdentity]] |= See also
| [[setFace]], [[setName]], [[setNameSound]], [[setSpeaker]], [[setPitch]], [[loadIdentity]],[[lockIdentity]] |See also=
 
}}
}}


Line 29: Line 28:
<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
<dd class="notedate">Posted on August 28, 2013
<dt class="note">'''[[User:kylania|kylania]]'''<dd class="note">
For ArmA3 the definition format in the [[Description.ext]] file is:
<pre>class CfgIdentities
{
    class MyLittleSoldier
    {
        name = "Givens";
        nameSound = "Givens";
        face="WhiteHead_06";
glasses="None";
speaker="Male05ENG";
pitch=1.1;
    };
};</pre>
'''nameSound''' can be any preset BIS recorded name value.  By default units will be called out in voice by their number.  By using nameSound you can call them out by name using the following values:
''Default:''
Armstrong
Nichols
Tanny
Frost
Lacey
Larkin
Kerry
Jackson
Miller
McKendrick
Levine
Reynolds
''BLUFOR:''
Adams
Bennett
Campbell
Dixon
Everett
Franklin
Givens
Hawkins
Lopez
Martinez
O'Connor
Ryan
Patterson
Sykes
Taylor
Walker
''OPFOR:''
Amin
Masood
Fahim
Habibi
Kushan
Jawadi
Nazari
Siddiqi
Takhtar
Wardak
Yousuf
''INDEPENDENT:''
Anthis
Costa
Dimitirou
Elias
Gekas
Kouris
Leventis
Markos
Nikas
Nicolo
Panas
Petros
Rosi
Samaras
Stavrou
Thanos
Vega
''CODE NAMES:''
Ghost
Stranger
Fox
Snake
Razer
Jester
Nomad
Viper
Korneedler
'''face''' can be any of the following:
AfricanHead_01
AfricanHead_02
AfricanHead_03
AsianHead_A3_01
AsianHead_A3_02
AsianHead_A3_03
GreekHead_A3_01
GreekHead_A3_02
GreekHead_A3_03
GreekHead_A3_04
GreekHead_A3_05
GreekHead_A3_06
GreekHead_A3_07
GreekHead_A3_08
GreekHead_A3_09
PersianHead_A3_01
PersianHead_A3_02
PersianHead_A3_03
NATOHead_01
WhiteHead_02
WhiteHead_03
WhiteHead_04
WhiteHead_05
WhiteHead_06
WhiteHead_07
WhiteHead_08
WhiteHead_09
WhiteHead_10
WhiteHead_11
WhiteHead_12
WhiteHead_13
WhiteHead_14
WhiteHead_15
'''speaker''' can be any of the following:
Male01ENG
Male01ENGB
Male01GRE
Male01PER
Male02ENG
Male02ENGB
Male02GRE
Male02PER
Male03ENG
Male03ENGB
Male03GRE
Male03PER
Male04ENG
Male04ENGB
Male04GRE
Male05ENG
Male06ENG
Male07ENG
Male08ENG
Male09ENG
In ArmA 3 1.04+ these settings can also be set individually without description.ext editing by using the following commands:  [[setFace]], [[setName]], [[setNameSound]], [[setSpeaker]], [[setPitch]]
<dd class="notedate">Posted on August 4, 2006 - 11:59
<dt class="note">'''[[User:Hardrock|hardrock]]'''<dd class="note">''Notes from before the conversion:''
The definition format in the [[Description.ext]] file is:
<pre>class CfgIdentities
{
    class John_Doe
    {
        name = "John Bartholemew Doe";
        face = "Face20";
        glasses = "None";
        speaker = "Dan";
        pitch = 1.1;
    };
};</pre>
In '''Operation Flashpoint''',
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
<dd class="notedate">Posted on November 18, 2006 - 10:42
<dt class="note">'''[[User:Str|Str]]'''<dd class="note">Preview of all faces in Armed Assault can be found on [http://help.bigames.info/arma_faces/index.htm Czech Biki]
<dd class="notedate">Posted on May 10, 2008 - 14:43
<dt class="note">'''[[User:hellop|hellop]]'''<dd class="note">
Glasses and Female faces do not work as of Arma patch 1.12beta.


<!-- Note Section END -->
<!-- Note Section END -->
Line 259: Line 34:
<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>


[[Category:Scripting Commands|SETIDENTITY]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.46|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.96|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.96|SETIDENTITY]]
[[Category:Scripting Commands ArmA|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.46|SETIDENTITY]]
[[Category:Scripting Commands ArmA|SETIDENTITY]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]

Revision as of 12:57, 26 August 2018

Hover & click on the images for description

Description

Description:
Set identity of a person. Identities are defined in Description.ext; for a list of available values see CfgIdentities.
Groups:
Uncategorised

Syntax

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

Examples

Example 1:
_soldier1 setIdentity "MyLittleSoldier";

Additional Information

See also:
setFacesetNamesetNameSoundsetSpeakersetPitchloadIdentitylockIdentity

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

Bottom Section