hintSilent: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " +" to " ")
m (Some wiki formatting)
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma2
|game1= arma2
|1.00
|version1= 1.00


|game2= arma2oa
|game2= arma2oa
Line 21: Line 21:
|gr3= Strings
|gr3= Strings


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


| [[hintSilent]] text
|s1= [[hintSilent]] text


|p1= text: [[String]] or [[Structured Text]]
|p1= text: [[String]] or [[Structured Text]]
Line 29: Line 29:
|r1= [[Nothing]]
|r1= [[Nothing]]


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


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


|seealso= [[hint]], [[hintC]], [[hintCadet]]
|seealso= [[hint]] [[hintC]] [[hintCadet]]
}}
}}
{{GameCategory|arma2|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|tkoh|Scripting Commands}}

Latest revision as of 22: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