loadStatus: 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|LOADSTATUS]]
{{Command|= Comments
[[Category:Scripting Commands OFP 1.96|LOADSTATUS]]
____________________________________________________________________________________________
[[Category:Scripting Commands ArmA|LOADSTATUS]]


| ofpr |= Game name


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


| Loads object's properties from [[objects.sav]] file in campaign directory (from entry name). |= Description
____________________________________________________________________________________________


'''Operand types:'''
| object '''loadStatus''' 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]] loadStatus "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>


Loads '''object's''' properties from [[Objects.sav|objects.sav]] file in campaign directory (from entry '''name''').
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Scripting Commands|LOADSTATUS]]
 
[[Category:Scripting Commands OFP 1.96|LOADSTATUS]]
'''Example:'''
[[Category:Scripting Commands ArmA|LOADSTATUS]]
 
[[player]] '''loadStatus''' "playerState"

Revision as of 01:59, 2 August 2006

Hover & click on the images for description

Description

Description:
Loads object's properties from objects.sav file in campaign directory (from entry name).
Groups:
Uncategorised

Syntax

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

Examples

Example 1:
[[player]] loadStatus "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