setIdentity: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
[[Category:Scripting Commands|S]]
[[Category:Scripting Commands|SETIDENTITY]]
[[Category:Scripting Commands OFP 1.97|S]]
[[Category:Scripting Commands OFP 1.97|SETIDENTITY]]
[[Category:Scripting Commands OFP 1.46|S]]
[[Category:Scripting Commands OFP 1.46|SETIDENTITY]]
[[Category:Scripting Commands ArmA|S]]
[[Category:Scripting Commands ArmA|SETIDENTITY]]





Revision as of 17:32, 4 May 2006


person setIdentity identity


Operand types:

person: Object

identity: String

Type of returned value:

Nothing

Description:

Set identity of person.
Identities are defined in description.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;
 };
};