cadetMode: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | 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 : | |x1= <pre>? (cadetMode) : ai_soldier setSkill 0.1</pre> |= Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 22:26, 1 August 2006
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]]