loadStatus: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
(10 intermediate revisions by 6 users not shown)
Line 10: Line 10:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[Boolean]] <nowiki>=</nowiki> [[Object]] '''loadStatus''' "EntryName"|= Syntax
| obj '''loadStatus''' entryName|= Syntax


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


|p2= EntryName: [[String]] |= Parameter 2
|p2= entryName: [[String]] |= Parameter 2


| [[Boolean]] |= Return value
| [[Boolean]] |= Return value
Line 21: Line 21:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>_ok= [[player]] '''loadStatus''' "playerState"</pre> |= Example 1
|x1= <code>_ok = [[player]] [[loadStatus]] "playerState";</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________


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:_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 16:25, 27 April 2015

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