loadStatus: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (template:command argument fix)
(24 intermediate revisions by 12 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands]]
{{Command|= Comments
[[Category:Scripting Commands OFP 1.97]]
____________________________________________________________________________________________
[[Category:Scripting Commands ArmA]]


back to [[Scripting_Reference#L|COMREF]]
| 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:'''
| obj '''loadStatus''' entryName|SYNTAX=


'''object:''' [[Object]]
|p1= obj: [[Object]] |PARAMETER1=


'''name:''' [[String]]
|p2= entryName: [[String]] |PARAMETER2=


'''Type of returned value:'''
| [[Boolean]] |RETURNVALUE=


[[Boolean]]
|mp= This command doesn't work in Multiplayer |=
____________________________________________________________________________________________
 
|x1= <code>_ok = [[player]] [[loadStatus]] "playerState";</code> |EXAMPLE1=
____________________________________________________________________________________________


'''Compatibility:'''
| [[saveStatus]] |SEEALSO=


Added in version '''1.75'''
}}


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


Loads '''object's''' properties from [[objects.sav]] file in campaign directory (from entry '''name''').
<!-- Note Section END -->
</dl>


 
<h3 style="display:none">Bottom Section</h3>
'''Example:'''
[[Category:Scripting Commands|LOADSTATUS]]
 
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
[[player]] '''loadStatus''' "playerState"
[[Category:Scripting Commands OFP 1.96|LOADSTATUS]]
[[Category:Scripting Commands ArmA|LOADSTATUS]]
[[Category:Command_Group:_Mission_Information|{{uc:{{PAGENAME}}}}]]
[[Category:Command Group: Weapon Pool|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]

Revision as of 15:43, 7 April 2019

Hover & click on the images for description

Description

Description:
Loads object's properties from Objects.sav file in campaign directory (from entry name).
Multiplayer:
This command doesn't work in Multiplayer
Groups:
Uncategorised

Syntax

Syntax:
obj loadStatus entryName
Parameters:
obj: Object
entryName: String
Return Value:
Boolean

Examples

Example 1:
_ok = player loadStatus "playerState";

Additional Information

See also:
saveStatus

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