savingEnabled: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(added example, see also)
m (template:command argument fix)
Line 12: Line 12:
| '''savingEnabled''' |= Syntax
| '''savingEnabled''' |= Syntax


|p1= |= PARAMETER1
|p1= |PARAMETER1=  


|p2= |= PARAMETER2
|p2= |PARAMETER2=  


|p3= |= PARAMETER3
|p3= |PARAMETER3=  


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




|x1= <code>[[if]] ([[savingEnabled]]) [[then]] {
|x1= <code>[[if]] ([[savingEnabled]]) [[then]] {
   [[hint]] "Saving is enabled!";
   [[hint]] "Saving is enabled!";
};</code>|= EXAMPLE1
};</code>|EXAMPLE1=  


____________________________________________________________________________________________
____________________________________________________________________________________________


| [[enableSaving]], [[loadGame]], [[saveGame]] |= SEEALSO
| [[enableSaving]], [[loadGame]], [[saveGame]] |SEEALSO=  


|  |= MPBEHAVIOUR
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
____________________________________________________________________________________________
}}
}}

Revision as of 10:36, 7 April 2019

Hover & click on the images for description

Description

Description:
Check if saving the game is enabled.
Groups:
Uncategorised

Syntax

Syntax:
savingEnabled
Return Value:
Boolean

Examples

Example 1:
if (savingEnabled) then { hint "Saving is enabled!"; };

Additional Information

See also:
enableSavingloadGamesaveGame

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