isSaving: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "|branch= dev " to "") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
Line 11: | Line 11: | ||
|r1= [[Boolean]] - [[true]] autosave request is made, [[false]] autosave request is processed | |r1= [[Boolean]] - [[true]] autosave request is made, [[false]] autosave request is processed | ||
|x1= < | |x1= <sqf> | ||
[] spawn | |||
{ | { | ||
saveGame; | |||
waitUntil { !isSaving }; | |||
systemChat "Game Saving Is Done!"; | |||
};</ | }; | ||
</sqf> | |||
|seealso= [[saveGame]] [[enableSaving]] [[loadGame]] [[savingEnabled]] | |seealso= [[saveGame]] [[enableSaving]] [[loadGame]] [[savingEnabled]] | ||
}} | }} |
Revision as of 12:09, 3 May 2022
Description
- Description:
- Returns the status of autosave request, made when saveGame command is executed. When request is made, the command immediately returns true. The engine then handles the saving and when it is done, the command returns false.
- Groups:
- Mission Information
Syntax
- Syntax:
- isSaving
- Return Value:
- Boolean - true autosave request is made, false autosave request is processed
Examples
- Example 1:
Additional Information
- See also:
- saveGame enableSaving loadGame savingEnabled
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