cadetMode: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
[[Category:Scripting Commands|CADETMODE]]
[{{Command|= Comments
[[Category:Scripting Commands OFP 1.96|CADETMODE]]
____________________________________________________________________________________________
[[Category:Scripting Commands OFP 1.46|CADETMODE]]
[[Category:Scripting Commands ArmA|CADETMODE]]


| ofp |= Game name


<h2 style="color:#000066"> '''cadetMode'''</h2>
|1.00|= Game version
____________________________________________________________________________________________


| [[true]] when mission is played in cadet mode, [[false]] in veteran mode. |= Description
____________________________________________________________________________________________


'''Operand types:'''
| '''cadetMode''' |= Syntax


None
| [[Boolean]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>? cadetMode : [[goto]] "academy"</pre> |= Example 1
____________________________________________________________________________________________


'''Type of returned value:'''
|  |= See also


[[Boolean]]
}}


'''Description:'''
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


[[true]] when mission is played in cadet mode, [[false]] in veteran mode.
<!-- Note Section END -->
</dl>


<h3 style="display:none">Bottom Section</h3>


'''Example:'''
[Category:Scripting Commands|CADETMODE]]
 
[[Category:Scripting Commands OFP 1.96|CADETMODE]]
? '''cadetMode''' : [[goto]] "academy"
[[Category:Scripting Commands OFP 1.46|CADETMODE]]
[[Category:Scripting Commands ArmA|CADETMODE]]

Revision as of 23:21, 1 August 2006

[

Hover & click on the images for description

Description

Description:
true when mission is played in cadet mode, false in veteran mode.
Groups:
Uncategorised

Syntax

Syntax:
cadetMode
Return Value:
Boolean

Examples

Example 1:
? cadetMode : [[goto]] "academy"

Additional Information

See also:
See also needed

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

[Category:Scripting Commands|CADETMODE]]