deleteIdentity: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " 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 | ||
|eff= local | |eff= local | ||
|gr1= Unit Identity | |gr1= Unit Identity | ||
| Delete an identity (created with [[saveIdentity]]) from the campaign's progress file. | | Delete an identity (created with [[saveIdentity]]) from the campaign's progress file. | ||
| [[Boolean]] <nowiki>=</nowiki> '''deleteIdentity''' identityName | | [[Boolean]] <nowiki>=</nowiki> '''deleteIdentity''' identityName | ||
|p1= identityName: [[String]] - name of the saved identity | |p1= identityName: [[String]] - name of the saved identity | ||
| [[Boolean]] - | | [[Boolean]] - | ||
true if the identy was deleted successfully, false if not | true if the identy was deleted successfully, false if not | ||
|x1= <pre>?deleteIdentity "playerIdentity":hint "Delete ok"</pre> | |x1= <pre>?deleteIdentity "playerIdentity":hint "Delete ok"</pre> | ||
| [[saveIdentity]] | | [[saveIdentity]] | ||
}} | }} |
Revision as of 00:30, 18 January 2021
Description
- Description:
- Delete an identity (created with saveIdentity) from the campaign's progress file.
- Groups:
- Unit Identity
Syntax
- Syntax:
- Boolean = deleteIdentity identityName
- Parameters:
- identityName: String - name of the saved identity
- Return Value:
- Boolean - true if the identy was deleted successfully, false if not
Examples
- Example 1:
?deleteIdentity "playerIdentity":hint "Delete ok"
Additional Information
- See also:
- saveIdentity
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: Local Effect
- 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