titleText: Difference between revisions
Jump to navigation
Jump to search
Kamaradski (talk | contribs) No edit summary |
No edit summary |
||
Line 61: | Line 61: | ||
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]] | ||
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | [[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]] | ||
<!-- CONTINUE Notes --> | |||
<dl class="command_description"> | |||
<dd class="notedate">Posted on November 21, 2014 - 09:03 (UTC)</dd> | |||
<dt class="note">[[User:DreadedEntity|DreadedEntity]]</dt> | |||
<dd class="note"> | |||
The third parameter or 'speed', as it's called in the description, refers to the amount of time the message will be shown on-screen. Multiply each number by 10 to get the number of seconds it will be shown. You can even use floats as input, like 0.1, to show a message for only 1 second.<br><br> | |||
'''Note''': Calculating the time with that method does not include the time it takes to fade in/out, which is about 1 second unless you use numbers lower than 1.<br> | |||
'''Note''': Using anything lower than 0.001 seems to have no effect, or the effect is so little it's negligible.<br> | |||
'''(A3 1.34.128075)''' | |||
</dd> | |||
</dl> | |||
<!-- DISCONTINUE Notes --> |
Revision as of 10:03, 21 November 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
- Posted on November 21, 2014 - 09:03 (UTC)
- DreadedEntity
-
The third parameter or 'speed', as it's called in the description, refers to the amount of time the message will be shown on-screen. Multiply each number by 10 to get the number of seconds it will be shown. You can even use floats as input, like 0.1, to show a message for only 1 second.
Note: Calculating the time with that method does not include the time it takes to fade in/out, which is about 1 second unless you use numbers lower than 1.
Note: Using anything lower than 0.001 seems to have no effect, or the effect is so little it's negligible.
(A3 1.34.128075)
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