hintSilent: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:ArmA 2: New Scripting Commands List\|{{uc:{{PAGENAME}}}}\]\]\s*" to "") |
Lou Montana (talk | contribs) (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= | ||
|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= | |||
| | |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
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
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