loadStatus: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\|= * " to " ")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| ofpr |Game name=
| ofpr


|1.75|Game version=
|1.75


|gr1= Weapon Pool |GROUP1=
|gr1= Weapon Pool
|gr2= Mission Information |GROUP2=
|gr2= Mission Information


| 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).


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


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


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


| [[Boolean]] |RETURNVALUE=
| [[Boolean]]


|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>


| [[saveStatus]] |SEEALSO=
| [[saveStatus]]


}}
}}

Revision as of 01:01, 18 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