hintSilent: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (local effect)
m (Some wiki formatting)
 
(37 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{RV|type=command
____________________________________________________________________________________________


| arma2 |= Game name
|game1= arma2
|1.00|= Game version
|version1= 1.00
|eff= local|= Effects in MP
____________________________________________________________________________________________


| Same as hint, but without a sound. |= Description
|game2= arma2oa
____________________________________________________________________________________________
|version2= 1.50


| '''hintSilent''' text |= Syntax
|game3= tkoh
|version3= 1.00


|p1= text: [[String]] or [[Structured Text]] |= PARAMETER1
|game4= arma3
|version4= 0.50


|p2= |= PARAMETER2
|eff= local


|p3= |= PARAMETER3
|gr1= Interaction


| Nothing |= RETURNVALUE
|gr2= Structured Text


|gr3= Strings


|x1= <code>hintSilent "You texte comes here !"</code>|= EXAMPLE1
|descr= Same as [[hint]], but without a sound.


____________________________________________________________________________________________
|s1= [[hintSilent]] text


| [[hint]], [[hintC]], [[hintCadet]] |= SEEALSO
|p1= text: [[String]] or [[Structured Text]]


| |= MPBEHAVIOUR
|r1= [[Nothing]]
____________________________________________________________________________________________
}}


<h3 style='display:none'>Notes</h3>
|x1= <sqf>hintSilent format ["Hello, %1!", name player];</sqf>
<dl class='command_description'>
<!-- Note Section BEGIN -->


<!-- Note Section END -->
|x2= <sqf>
</dl>
hint "Hello there!";
sleep 5;
hintSilent ""; // removes message
</sqf>


<h3 style='display:none'>Bottom Section</h3>
|seealso= [[hint]] [[hintC]] [[hintCadet]]
[[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
}}
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Latest revision as of 22: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