loadStatus: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (f)
m (template:command argument fix)
(15 intermediate revisions by 9 users not shown)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


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


| object '''loadStatus''' name |= Syntax
| obj '''loadStatus''' entryName|SYNTAX=


|p1= object: [[Object]] |= Parameter 1
|p1= obj: [[Object]] |PARAMETER1=


|p2= name: [[String]] |= Parameter 2
|p2= entryName: [[String]] |PARAMETER2=


| [[Boolean]] |= Return value
| [[Boolean]] |RETURNVALUE=


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


| |= See also
| [[saveStatus]] |SEEALSO=


}}
}}
Line 37: Line 37:
<h3 style="display:none">Bottom Section</h3>
<h3 style="display:none">Bottom Section</h3>
[[Category:Scripting Commands|LOADSTATUS]]
[[Category:Scripting Commands|LOADSTATUS]]
[[Category:Scripting Commands OFP 1.99|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands OFP 1.96|LOADSTATUS]]
[[Category:Scripting Commands OFP 1.96|LOADSTATUS]]
[[Category:Scripting Commands ArmA|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