loadStatus: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "")
m (Text replacement - " *\|= * " to " ")
Line 18: Line 18:
| [[Boolean]] |RETURNVALUE=
| [[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> |EXAMPLE1=
|x1= <code>_ok = [[player]] [[loadStatus]] "playerState";</code> |EXAMPLE1=

Revision as of 22:44, 17 January 2021

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:
Weapon PoolMission Information

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

Bottom Section