loadIdentity: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " *\|= * " to " ") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| ofpr | | ofpr | ||
|1.75 | |1.75 | ||
|gr1= Unit Identity | |gr1= Unit Identity | ||
| Loads person's identity from [[Objects.sav]] file in campaign directory (from entry name). | | Loads person's identity from [[Objects.sav]] file in campaign directory (from entry name). | ||
| person '''loadIdentity''' name | | person '''loadIdentity''' name | ||
|p1= person: [[Object]] | |p1= person: [[Object]] | ||
|p2= name: [[String]] | |p2= name: [[String]] | ||
| [[Boolean]] | | [[Boolean]] | ||
|mp= This command doesn't work in Multiplayer | |mp= This command doesn't work in Multiplayer | ||
|x1= <code>_ok <nowiki>=</nowiki> [[player]] '''loadIdentity''' "playerIdentity"</code> | |x1= <code>_ok <nowiki>=</nowiki> [[player]] '''loadIdentity''' "playerIdentity"</code> | ||
| [[saveIdentity]], [[lockIdentity]], [[setIdentity]] | | [[saveIdentity]], [[lockIdentity]], [[setIdentity]] | ||
}} | }} |
Revision as of 01:03, 18 January 2021
Description
- Description:
- Loads person's identity from Objects.sav file in campaign directory (from entry name).
- Multiplayer:
- This command doesn't work in Multiplayer
- Groups:
- Unit Identity
Syntax
Examples
- Example 1:
_ok = player loadIdentity "playerIdentity"
Additional Information
- See also:
- saveIdentitylockIdentitysetIdentity
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
Bottom Section
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint: Resistance version 1.75
- Operation Flashpoint: Resistance: New Scripting Commands
- Operation Flashpoint: Resistance: Scripting Commands
- Command Group: Unit Identity
- Scripting Commands OFP 1.99
- Scripting Commands OFP 1.96
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 3: Scripting Commands
- Take On Helicopters: Scripting Commands