titleText: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Kamaradski (talk | contribs) No edit summary |
||
Line 32: | Line 32: | ||
|x1= <code>[[titleText]] ["Show this text", "PLAIN"]; | |x1= <code>[[titleText]] ["Show this text", "PLAIN"]; | ||
[[titleText]] ["Your message", "BLACK", 2];</code> |= Example 1 | [[titleText]] ["Your message", "BLACK", 2];</code> |= Example 1 | ||
|x2= | |||
Use '''#define''' to display predefined messages: | |||
<code>#define MY_MSG "This is my message."; | |||
[[titleText]] [MY_MSG, "PLAIN", 3];</code> |= Example 1 | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 21:04, 13 October 2014
Description
- Description:
- Displays text across the screen.
If used along with cutText two different texts (in different type styles) can be shown at once. - Groups:
- Uncategorised
Syntax
- Syntax:
- titleText [text, type, speed]
- Parameters:
- text: String
- type: String- Possible Title Effect Types:
• "PLAIN"
• "PLAIN DOWN"
• "BLACK"
• "BLACK FADED"
• "BLACK OUT"
• "BLACK IN"
• "WHITE OUT"
• "WHITE IN" - speed: Number - optional, default 1
- Return Value:
- Nothing
Examples
- Example 1:
titleText ["Show this text", "PLAIN"]; titleText ["Your message", "BLACK", 2];
- Example 2:
- Use #define to display predefined messages:
#define MY_MSG "This is my message."; titleText [MY_MSG, "PLAIN", 3];
Additional Information
- See also:
- titleFadeOutcutText
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
Notes
Bottom Section
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint version 1.00
- Operation Flashpoint: New Scripting Commands
- Operation Flashpoint: Scripting Commands
- Command Group: Uncategorised
- Scripting Commands: Local Effect
- Scripting Commands OFP 1.99
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.46
- Scripting Commands ArmA
- Command Group: Interaction
- Scripting Commands ArmA2
- Scripting Commands Arma 3
- Scripting Commands Take On Helicopters