hintCadet: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(see also)
m (formatted notes + formatted examples)
Line 21: Line 21:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <code>hintCadet "Press W to move forward";</code> |= Example 1
|x1= <code>[[hintCadet]] "Press W to move forward";</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 31: Line 31:
<dl class="command_description">
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section BEGIN -->
<dt class="note">'''[[User:ArmAtec|ArmAtec]]'''<dd class="note">
 
hintCadet can be used with formatting like this:
<dt class="note">'''[[User:ArmAtec|ArmAtec]]'''
hintCadet format["Hello %1",player]
<dd class="note">hintCadet can be used with formatting like this:
<code>[[hintCadet]] [[format]]["Hello %1", [[player]]]</code>
 
<!-- Note Section END -->
<!-- Note Section END -->
</dl>
</dl>

Revision as of 18:47, 26 March 2016

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