saveStatus: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3> " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| ofpr |Game name=
| ofpr


|1.75|Game version=
|1.75


|gr1= Weapon Pool |GROUP1=
|gr1= Weapon Pool
|gr2= Mission Information |GROUP2=
|gr2= Mission Information


| Saves object's properties to [[Objects.sav]] file in campaign directory as entry name. |DESCRIPTION=
| Saves object's properties to [[Objects.sav]] file in campaign directory as entry name.


| object '''saveStatus''' name |SYNTAX=
| object '''saveStatus''' name


|p1= object: [[Object]] |PARAMETER1=
|p1= object: [[Object]]
|p2= name: [[String]] |PARAMETER2=
|p2= name: [[String]]


| [[Boolean]] |RETURNVALUE=
| [[Boolean]]
   
   
|x1= <code>[[player]] saveStatus "playerstate"</code> |EXAMPLE1=
|x1= <code>[[player]] saveStatus "playerstate"</code>


| [[loadStatus]] |SEEALSO=
| [[loadStatus]]


}}
}}

Revision as of 11:02, 18 January 2021

Hover & click on the images for description

Description

Description:
Saves object's properties to Objects.sav file in campaign directory as entry name.
Groups:
Weapon PoolMission Information

Syntax

Syntax:
object saveStatus name
Parameters:
object: Object
name: String
Return Value:
Boolean

Examples

Example 1:
player saveStatus "playerstate"

Additional Information

See also:
loadStatus

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