loadStatus: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (template:command argument fix)
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=
____________________________________________________________________________________________
____________________________________________________________________________________________


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


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


|p2= entryName: [[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>_ok = [[player]] [[loadStatus]] "playerState";</code> |= Example 1
|x1= <code>_ok = [[player]] [[loadStatus]] "playerState";</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


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


}}
}}

Revision as of 14: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