BIS fnc isDemo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "| arma3 |1.00 " to "|game1= arma3 |version1= 1.00 ")
m (Text replacement - "<code> *([^<|{]*) *<\/code>" to "<sqf>$1</sqf>")
 
(7 intermediate revisions by the same user not shown)
Line 8: Line 8:
|descr= Returns true when game version is demo.
|descr= Returns true when game version is demo.


|s1= call [[BIS_fnc_isDemo]]
|s1= call [[BIS_fnc_isDemo]]


|r1= [[Boolean]]
|r1= [[Boolean]]


|x1= <code>_isDemo = [[call]] [[BIS_fnc_isDemo]];</code>
|x1= <sqf>private _isDemo = call BIS_fnc_isDemo;</sqf>


|seealso= [[BIS_fnc_version]], [[productVersion]], [[requiredVersion]]
|seealso= [[BIS_fnc_version]] [[productVersion]] [[requiredVersion]]
}}
}}

Latest revision as of 23:44, 12 July 2022

Hover & click on the images for description

Description

Description:
Returns true when game version is demo.
Execution:
call
Groups:
Diagnostic

Syntax

Syntax:
call BIS_fnc_isDemo
Return Value:
Boolean

Examples

Example 1:
private _isDemo = call BIS_fnc_isDemo;

Additional Information

See also:
BIS_fnc_version productVersion requiredVersion

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