cadetMode: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (changed global to local variable to make clear the variable)
(updated)
Line 37: Line 37:
[[Category:Scripting Commands ArmA|CADETMODE]]
[[Category:Scripting Commands ArmA|CADETMODE]]
[[Category:Command_Group:_Mission_Information|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Mission_Information|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]

Revision as of 15:46, 3 June 2009

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