setIdentity

From Bohemia Interactive Community
Revision as of 15:07, 17 April 2006 by Planck (talk | contribs)
Jump to navigation Jump to search

back to COMREF

person setIdentity identity


Operand types:

person: Object

identity: String

Type of returned value:

Nothing

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;  }; };