hintSilent: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
Lou Montana (talk | contribs) 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 | {{Command | ||
| arma2 | | arma2 | ||
|1.00 | |1.00 | ||
|eff= local | |eff= local | ||
|gr1= Interaction | |gr1= Interaction | ||
|gr2= Structured Text | |gr2= Structured Text | ||
|gr3= Strings | |gr3= Strings | ||
| Same as [[hint]], but without a sound. | | Same as [[hint]], but without a sound. | ||
| [[hintSilent]] text | | [[hintSilent]] text | ||
|p1= text: [[String]] or [[Structured Text]] | |p1= text: [[String]] or [[Structured Text]] | ||
| [[Nothing]] | | [[Nothing]] | ||
|x1= <code>[[hintSilent]] [[format]] ["Hello, %1!", [[name]] [[player]]];</code> | |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> | [[hintSilent]] ""; {{cc|removes message}}</code> | ||
| [[hint]], [[hintC]], [[hintCadet]] | | [[hint]], [[hintC]], [[hintCadet]] | ||
| |MPBEHAVIOUR= | | |MPBEHAVIOUR= |
Revision as of 00:40, 18 January 2021
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
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