cadetMode: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[true]] when mission is played in cadet mode, [[false]] in veteran mode. |= Description
| Returns if the player is currently playing in cadet or veteran mode. |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''cadetMode''' |= Syntax
| '''cadetMode''' |= Syntax


| [[Boolean]] |= Return value
| [[Boolean]]
true when playing in cadet mode, false when playing in veteran mode |= Return value
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>? cadetMode : [[goto]] "academy"</pre> |= Example 1
|x1= <pre>? (cadetMode) : ai_soldier setSkill 0.1</pre> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 23:26, 1 August 2006

Hover & click on the images for description

Description

Description:
Returns if the player is currently playing in cadet or veteran mode.
Groups:
Uncategorised

Syntax

Syntax:
cadetMode
Return Value:
Boolean - true when playing in cadet mode, false when playing in veteran mode

Examples

Example 1:
? (cadetMode) : ai_soldier setSkill 0.1

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]]