saveStatus: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| ofpr |Game name=
| ofpr |Game name=
Line 8: Line 7:
|gr1= Weapon Pool |GROUP1=
|gr1= Weapon Pool |GROUP1=
|gr2= Mission Information |GROUP2=
|gr2= Mission Information |GROUP2=
____________________________________________________________________________________________


| 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. |DESCRIPTION=
____________________________________________________________________________________________


| object '''saveStatus''' name |SYNTAX=
| object '''saveStatus''' name |SYNTAX=
Line 19: Line 16:


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


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

Revision as of 02:22, 17 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

Notes

Bottom Section