BIS fnc isDemo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|= Game name" to "|Game name=")
m (Text replacement - "<code> *([^<|{]*) *<\/code>" to "<sqf>$1</sqf>")
 
(28 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{RV|type=function


{{Function|Comments=
|game1= arma3
____________________________________________________________________________________________
|version1= 1.00


| arma3 |Game name=
|gr1= Diagnostic


|1.00|= Game version
|descr= Returns true when game version is demo.
____________________________________________________________________________________________


| Returns true when game version is demo. |DESCRIPTION=
|s1= call [[BIS_fnc_isDemo]]
____________________________________________________________________________________________


| call [[BIS_fnc_isDemo]] |SYNTAX=
|r1= [[Boolean]]


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


| [[Boolean]] |RETURNVALUE=
|seealso= [[BIS_fnc_version]] [[productVersion]] [[requiredVersion]]
____________________________________________________________________________________________
 
|x1= <code>_isDemo = [[call]] [[BIS_fnc_isDemo]];</code> |EXAMPLE1=
____________________________________________________________________________________________
 
| [[BIS_fnc_version]], [[productVersion]], [[requiredVersion]] |SEEALSO=
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: Debug|{{uc:isDemo}}]]
[[Category:Functions|{{uc:isDemo}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:isDemo}}]]

Latest revision as of 22: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