hintCadet: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (formatted notes + formatted examples)
m (template:command argument fix)
Line 11: Line 11:
| 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=


|p1=  text: [[String]] |= Parameter 1
|p1=  text: [[String]] |PARAMETER1=


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


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


}}
}}

Revision as of 15:41, 7 April 2019

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:
Uncategorised

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