setIdentity: Difference between revisions
Jump to navigation
Jump to search
m (see also) |
Lou Montana (talk | contribs) (Comments cleanup) |
||
Line 1: | Line 1: | ||
{{Command|= | {{Command|Comments= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| ofp | | | ofp |Game name= | ||
|1.00| | |1.00|Game version= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| Set identity of person. | | Set identity of a person. | ||
Identities are defined in [[Description.ext]] | Identities are defined in [[Description.ext#CfgIdentities|Description.ext]]; for a list of available values see [[:Category:CfgIdentities|CfgIdentities]]. |Description= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| person | | person [[setIdentity]] identity |Syntax= | ||
|p1= person: [[Object]] | | |p1= person: [[Object]] |Parameter 1= | ||
|p2= identity: [[String]] | | |p2= identity: [[String]] |Parameter 2= | ||
| [[Nothing]] | | | [[Nothing]] |Return value= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>_soldier1 [[setIdentity]] "MyLittleSoldier";</code> | | |x1= <code>_soldier1 [[setIdentity]] "MyLittleSoldier";</code> |Example 1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[setFace]], [[setSpeaker]], [[loadIdentity]],[[lockIdentity]] | | | [[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 --> | ||
<!-- 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| | [[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 | [[Category:Scripting Commands ArmA|{{uc:{{PAGENAME}}}}]] | ||
[[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
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
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
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands OFP 1.46
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.99
- Scripting Commands ArmA
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters