hintSilent: Difference between revisions

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


| arma2 |= Game name
|game1= arma2
|version1= 1.00


|1.00|= Game version
|game2= arma2oa
____________________________________________________________________________________________
|version2= 1.50


| Same as hint, but without a sound. |= Description
|game3= tkoh
____________________________________________________________________________________________
|version3= 1.00


| '''hintSilent''' text |= Syntax
|game4= arma3
|version4= 0.50


|p1= text: [[String]] or [[Structured Text]] |= PARAMETER1
|eff= local


|p2= |= PARAMETER2
|gr1= Interaction


|p3= |= PARAMETER3
|gr2= Structured Text


| Nothing |= RETURNVALUE
|gr3= Strings


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


|x1= <code>(example)</code>|= EXAMPLE1
|s1= [[hintSilent]] text


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


| [[hint]], [[hintC]], [[hintCadet]], [[hintC array]], [[hintC structuredText]], [[hintC text]] |= SEEALSO
|r1= [[Nothing]]


| |= MPBEHAVIOUR
|x1= <sqf>hintSilent format ["Hello, %1!", name player];</sqf>
____________________________________________________________________________________________
}}


<h3 style='display:none'>Notes</h3>
|x2= <sqf>
<dl class='command_description'>
hint "Hello there!";
<!-- Note Section BEGIN -->
sleep 5;
hintSilent ""; // removes message
</sqf>


<!-- Note Section END -->
|seealso= [[hint]] [[hintC]] [[hintCadet]]
</dl>
}}
 
<h3 style='display:none'>Bottom Section</h3>
[[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{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