Difference between revisions of "hintC"

From Bohemia Interactive Community
Jump to navigation Jump to search
(added note on hintc format)
m (fixed/compacted formatting)
Line 24: Line 24:
 
<dl class="command_description">
 
<dl class="command_description">
 
<!-- Note Section BEGIN -->
 
<!-- Note Section BEGIN -->
<dd class="notedate">Posted on August 12, 2006 - 19:09</dd>
 
 
<dt class="note">'''[[User:Str|Str]]'''</dt><dd class="note">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.</dd>
 
<dt class="note">'''[[User:Str|Str]]'''</dt><dd class="note">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.</dd>
<dt class="note">[[User:ArmAtec|ArmAtec]]</dt><dd class="note">
+
<dt class="note">'''[[User:ArmAtec|ArmAtec]]'''</dt><dd class="note">
HitnC can be used with formatting like this
+
HintC can be used with formatting like this:
 
+
HintC format["Hello %1",player]</dd>
_playername = player
 
 
 
_notplayername = Ai_unit
 
 
 
HintC format["The players name is %1 and is not %2",_playername, _notplayername]
 
 
 
 
<!-- Note Section END -->
 
<!-- Note Section END -->
 
</dl>
 
</dl>

Revision as of 06:46, 28 January 2007

Introduced with Operation Flashpoint version 1.001.00Effects of this scripting command are not broadcasted over the network and remain local to the client the command is executed on
Hover & click on the images for descriptions

Description

Description:
Works the same way as hint, only that the text is displayed in the middle of the screen. The game is paused until the player presses "Continue".

Syntax

Syntax:
hintC text
Parameters:
text: String
Return Value:
Nothing

Examples

Example 1:
hintC "Press W to move forward"

Additional Information

See also:
hinthintCadethintC arrayhintC structuredTexthintC text

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.

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.
ArmAtec
HintC can be used with formatting like this: HintC format["Hello %1",player]

Bottom Section