hintSilent: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "_{10,} " to "")
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...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| arma2 |Game name=
| arma2


|1.00|Game version=
|1.00


|eff= local |Multiplayer Effects=
|eff= local


|gr1= Interaction |GROUP1=
|gr1= Interaction


|gr2= Structured Text |GROUP2=
|gr2= Structured Text


|gr3= Strings |GROUP3=
|gr3= Strings


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


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


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


| [[Nothing]] |RETURNVALUE=
| [[Nothing]]


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


|x2= <code>[[hint]] "Hello there!";
|x2= <code>[[hint]] "Hello there!";
[[sleep]] 5;
[[sleep]] 5;
[[hintSilent]] ""; {{cc|removes message}}</code> |EXAMPLE2=
[[hintSilent]] ""; {{cc|removes message}}</code>


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


|  |MPBEHAVIOUR=
|  |MPBEHAVIOUR=

Revision as of 00:40, 18 January 2021

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