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 (Text replacement - "[] spawn" to "0 spawn") |
||
(One intermediate revision by the same user not shown) | |||
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> | ||
0 spawn | |||
{ | { | ||
saveGame; | |||
waitUntil { !isSaving }; | |||
systemChat "Game Saving Is Done!"; | |||
};</ | }; | ||
</sqf> | |||
|seealso= [[saveGame]] [[enableSaving]] [[loadGame]] [[savingEnabled]] | |seealso= [[saveGame]] [[enableSaving]] [[loadGame]] [[savingEnabled]] | ||
}} | }} |
Latest revision as of 21:24, 2 September 2024
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