hintCadet: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Some wiki formatting)
 
(64 intermediate revisions by 16 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands|H]]
{{RV|type=command
[[Category:Scripting Commands OFP 1.97|H]]
[[Category:Scripting Commands OFP 1.46|H]]
[[Category:Scripting Commands ArmA|H]]


back to [[Scripting_Reference#H|COMREF]]
|game1= ofp
|version1= 1.00


<h2 style="color:#000066"> '''hintCadet ''text'''''</h2>
|game2= ofpe
|version2= 1.00


|game3= arma1
|version3= 1.00


'''Operand types:'''
|game4= arma2
|version4= 1.00


'''text:''' [[String]]
|game5= arma2oa
|version5= 1.50


'''Type of returned value:'''
|game6= tkoh
|version6= 1.00


[[Nothing]]
|game7= arma3
|version7= 0.50


'''Description:'''
|eff= local


Show hint text only in cadet mode.
|gr1= Interaction


Text can contain several lines.
|gr2= Difficulty


An '''\n''' is used to indicate a new line.
|descr= Shows a text hint only when in [[cadetMode]].


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


'''Example:'''
|s1= [[hintCadet]] text


'''hintCadet''' "Press G to display compass"
|p1= text: [[String]]
 
|r1= [[Nothing]]
 
|x1= <sqf>hintCadet "Press W to move forward";</sqf>
 
|seealso= [[hint]] [[hintC]] [[hintSilent]] [[cadetMode]]
}}

Latest revision as of 22:23, 18 April 2022

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:
hint hintC hintSilent 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