hintC
Jump to navigation
Jump to search
Description
- Description:
- Displays a very basic message dialog in the center of the screen. Player control is taken away until "Continue" is pressed. The message dialog can be dragged around on the screen. After "Continue" has been pressed, the content of the hintC is repeated in a normal hint.
- Groups:
- InteractionStructured TextStrings
Syntax
Alternative Syntax
- Syntax:
- title hintC message
- Parameters:
- title: String - message title
- message: String, Structured Text, Array of Strings or Array of Structured Text
- Return Value:
- Nothing
Examples
- Example 1:
- hintC "Press W to move forward";
- Example 2:
- Same as the above in Arma 3 but without second hint displayed:
hintC "Press W to move forward"; hintC_EH = findDisplay 57 displayAddEventHandler ["Unload", { _this spawn { _this select 0 displayRemoveEventHandler ["Unload", hintC_EH]; hintSilent ""; }; }]; - Example 3:
- "Instructions" hintC [ "Press W to move forward.", "Press S to move backwards.", "Use the mouse to turn right or left.", "Press V for weapon sights." ];
- Example 4:
- Same as the above in Arma 3 but without second hint displayed:
"Instructions" hintC [ "Press W to move forward.", "Press S to move backwards.", "Use the mouse to turn right or left.", "Press V for weapon sights." ]; hintC_EH = findDisplay 72 displayAddEventHandler ["Unload", { _this spawn { _this select 0 displayRemoveEventHandler ["Unload", hintC_EH]; hintSilent ""; }; }]; - Example 5:
Additional Information
- See also:
- hint hintCadet hintSilent BIS_fnc_guiMessage
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
- Posted on Jul 31, 2006 - 18:18 (UTC)
- 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.
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Operation Flashpoint: Elite: Scripting Commands
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Take On Helicopters: Scripting Commands
- Arma 3: Scripting Commands
- Command Group: Interaction
- Command Group: Structured Text
- Command Group: Strings
- Scripting Commands: Local Effect