hintSilent: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:ArmA 2: New Scripting Commands List\|{{uc:{{PAGENAME}}}}\]\]\s*" to "")
(Fix examples)
Line 3: Line 3:


| arma2 |Game name=
| arma2 |Game name=
|1.00|Game version=
|1.00|Game version=
|eff= local|Multiplayer Effects=
 
|eff= local |Multiplayer Effects=
____________________________________________________________________________________________
____________________________________________________________________________________________


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


| '''hintSilent''' text |SYNTAX=
| [[hintSilent]] text |SYNTAX=


|p1= text: [[String]] or [[Structured Text]] |PARAMETER1=  
|p1= text: [[String]] or [[Structured Text]] |PARAMETER1=  
Line 20: Line 22:
| Nothing |RETURNVALUE=  
| Nothing |RETURNVALUE=  


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


|x1= <code>hintSilent "You texte comes here !"</code>|EXAMPLE1=  
|x2= <code>[[hint]] "Hello there!";
 
[[sleep]] 5;
[[hintSilent]] ""; {{cc|removes message}}</code> |EXAMPLE2=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[hint]], [[hintC]], [[hintCadet]] |SEEALSO=  
| [[hint]], [[hintC]], [[hintCadet]] |SEEALSO=


|  |MPBEHAVIOUR=  
|  |MPBEHAVIOUR=
____________________________________________________________________________________________
}}
}}



Revision as of 19:18, 23 December 2019

Hover & click on the images for description

Description

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

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:
hinthintChintCadet

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

Bottom Section