cadetMode: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (=)
m (changed global to local variable to make clear the variable)
Line 16: Line 16:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>? (cadetMode) : ai_soldier setSkill 0.1</pre> |= Example 1
|x1= <pre>? (cadetMode) : _AIsoldier setSkill 0.1</pre> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 06:23, 27 August 2007

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:
Boolean = cadetMode
Return Value:
Boolean - true when playing in cadet mode, false when playing in veteran mode

Examples

Example 1:
? (cadetMode) : _AIsoldier 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