hintCadet: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]Take[ _]On[ _]Helicopters(\|.*)?\]\]" to "{{GameCategory|tkoh|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| ofp |Game name=
| ofp |Game name=
Line 11: Line 10:


|gr2= Difficulty |GROUP2=
|gr2= Difficulty |GROUP2=
____________________________________________________________________________________________


| Shows a text hint only when in [[cadetMode]].
| Shows a text hint only when in [[cadetMode]].


The text can contain several lines. \n is used to indicate the end of a line. |DESCRIPTION=
The text can contain several lines. \n is used to indicate the end of a line. |DESCRIPTION=
____________________________________________________________________________________________


| '''hintCadet''' text |SYNTAX=
| '''hintCadet''' text |SYNTAX=
Line 23: Line 20:


| [[Nothing]] |RETURNVALUE=
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
   
   
|x1= <code>[[hintCadet]] "Press W to move forward";</code> |EXAMPLE1=
|x1= <code>[[hintCadet]] "Press W to move forward";</code> |EXAMPLE1=
____________________________________________________________________________________________


| [[hint]], [[hintC]], [[hintSilent]] [[cadetMode]] |SEEALSO=
| [[hint]], [[hintC]], [[hintSilent]] [[cadetMode]] |SEEALSO=

Revision as of 01:40, 17 January 2021

Hover & click on the images for description

Description

Description:
Shows a text hint only when in cadetMode. The text can contain several lines. \n is used to indicate the end of a line.
Groups:
InteractionDifficulty

Syntax

Syntax:
hintCadet text
Parameters:
text: String
Return Value:
Nothing

Examples

Example 1:
hintCadet "Press W to move forward";

Additional Information

See also:
hinthintChintSilent cadetMode

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

ArmAtec
hintCadet can be used with formatting like this: hintCadet format["Hello %1", player]

Bottom Section