Difference between revisions of "hintC"

From Bohemia Interactive Community
Jump to navigation Jump to search
m
m (Command Group)
Line 8: Line 8:
  
 
|gr1= Interaction |GROUP1=
 
|gr1= Interaction |GROUP1=
 +
 +
|gr2= Structured Text |GROUP2=
 +
 +
|gr3= Strings |GROUP3=
  
 
|descr= Displays attractive hint in the center of the screen. Player control is taken away until "Continue" is pressed.
 
|descr= Displays attractive hint in the center of the screen. Player control is taken away until "Continue" is pressed.

Revision as of 01:09, 17 October 2020

Template:Command

Notes

Str
This command must be executed after mission start. If you place it into init.sqs or init field of some unit, it will not work. Just add a little delay (~0.001) and the place the command.
Worldeater
To display multiple messages after another you have to add a small delay in between. Otherwise only the first message will be displayed. hintC "foo"; sleep 0.1; hintC "bar" Without a sleep statement hintC will not suspend the script it has been called from.
ArmAtec
HintC can be used with formatting like this: hintC format ["Hello %1", player]
Posted on March 19, 2015 - 09:52 (UTC)
Killzone Kid
"Titled" hintC uses display #72 while "untitled" one uses display #57. If you are trying examples in Arma 3 debug console, add a little delay like this: [] spawn {sleep 0.5; /* your example code goes here*/ }; or no hintC will be displayed.

Bottom Section