hintSilent: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...)
m (Some wiki formatting)
 
(19 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command
{{RV|type=command


| arma2
|game1= arma2
|version1= 1.00


|1.00
|game2= arma2oa
|version2= 1.50
 
|game3= tkoh
|version3= 1.00
 
|game4= arma3
|version4= 0.50


|eff= local
|eff= local
Line 13: Line 21:
|gr3= Strings
|gr3= Strings


| Same as [[hint]], but without a sound.
|descr= Same as [[hint]], but without a sound.


| [[hintSilent]] text
|s1= [[hintSilent]] text


|p1= text: [[String]] or [[Structured Text]]
|p1= text: [[String]] or [[Structured Text]]


| [[Nothing]]
|r1= [[Nothing]]
 
|x1= <code>[[hintSilent]] [[format]] ["Hello, %1!", [[name]] [[player]]];</code>


|x2= <code>[[hint]] "Hello there!";
|x1= <sqf>hintSilent format ["Hello, %1!", name player];</sqf>
[[sleep]] 5;
[[hintSilent]] ""; {{cc|removes message}}</code>


| [[hint]], [[hintC]], [[hintCadet]]
|x2= <sqf>
hint "Hello there!";
sleep 5;
hintSilent ""; // removes message
</sqf>


| |MPBEHAVIOUR=
|seealso= [[hint]] [[hintC]] [[hintCadet]]
}}
}}
<h3 style='display:none'>Notes</h3>
<dl class='command_description'>
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style='display:none'>Bottom Section</h3>
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 21:23, 18 April 2022

Hover & click on the images for description

Description

Description:
Same as hint, but without a sound.
Groups:
InteractionStructured TextStrings

Syntax

Syntax:
hintSilent text
Parameters:
text: String or Structured Text
Return Value:
Nothing

Examples

Example 1:
hintSilent format ["Hello, %1!", name player];
Example 2:
hint "Hello there!"; sleep 5; hintSilent ""; // removes message

Additional Information

See also:
hint hintC hintCadet

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