saveStatus: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands|SAVESTATUS]]
{{Command|= Comments
[[Category:Scripting Commands OFP 1.96|SAVESTATUS]]
____________________________________________________________________________________________
[[Category:Scripting Commands ArmA|SAVESTATUS]]


| ofpr |= Game name


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


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


'''Operand types:'''
| object '''saveStatus''' name |= Syntax


'''object:''' [[Object]]
|p1= object: [[Object]] |= Parameter 1


'''name:''' [[String]]
|p2= name: [[String]] |= Parameter 2


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


[[Boolean]]
|  |= 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|objects.sav]] file in campaign directory as entry '''name'''.
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Scripting Commands|SAVESTATUS]]
 
[[Category:Scripting Commands OFP 1.96|SAVESTATUS]]
'''Example:'''
[[Category:Scripting Commands ArmA|SAVESTATUS]]
 
[[player]] '''saveStatus''' "playerstate"

Revision as of 23:58, 1 August 2006

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:
See also needed

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