setIdentity: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 29: | Line 29: | ||
The definition format in the [[description.ext]] file is: | The definition format in the [[description.ext]] file is: | ||
class CfgIdentities | class CfgIdentities<br> | ||
{ | {<br> | ||
class John_Doe | class John_Doe<br> | ||
{ | {<br> | ||
name="John Bartholemew Doe"; | name="John Bartholemew Doe";<br> | ||
face="Face20"; | face="Face20";<br> | ||
glasses="None"; | glasses="None";<br> | ||
speaker="Dan"; | speaker="Dan";<br> | ||
pitch=1.1; | pitch=1.1;<br> | ||
}; | };<br> | ||
}; | }; |
Revision as of 14:07, 17 April 2006
back to COMREF
person setIdentity identity
Operand types:
person: Object
identity: String
Type of returned value:
Description:
Set identity of person.
Identities are defined in descripion.ext of the mission or campaign.
Example:
soldier1 setIdentity "John_Doe"
Comments:
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;
};
};