saveStatus: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
(19 intermediate revisions by 7 users not shown)
Line 1: Line 1:
back to [[Scripting_Reference#S|COMREF]]
{{Command|= Comments
____________________________________________________________________________________________


<h2 style="color:#000066">'''''object'' saveStatus ''name'''''</h2>
| ofpr |= Game name


|1.75|= Game version
____________________________________________________________________________________________


'''Operand types:'''
| Saves object's properties to [[Objects.sav]] file in campaign directory as entry name. |= Description
____________________________________________________________________________________________


'''object:''' [[Object]]
| object '''saveStatus''' name |= Syntax


'''name:''' [[String]]
|p1= object: [[Object]] |= Parameter 1
|p2= name: [[String]] |= Parameter 2


'''Type of returned value:'''
| [[Boolean]] |= Return value
____________________________________________________________________________________________
 
|x1= <code>[[player]] saveStatus "playerstate"</code> |= Example 1
____________________________________________________________________________________________


[[Boolean]]
| [[loadStatus]] |= See also


'''Compatibility:'''
}}


Added in version '''1.75'''
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


'''Description:'''
<!-- Note Section END -->
</dl>


Saves '''object's''' properties to [[objects.sav]] file in campaign directory as entry '''name'''.
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Command Group: Weapon Pool|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting Commands|SAVESTATUS]]
'''Example:'''
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting Commands OFP 1.96|SAVESTATUS]]
[[player]] '''saveStatus''' "playerstate"
[[Category:Scripting Commands ArmA|SAVESTATUS]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]

Revision as of 12:07, 25 September 2014

Hover & click on the images for description

Description

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

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