cutText: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(+ category)
No edit summary
Line 28: Line 28:
| '''cutText''' effect |= Syntax
| '''cutText''' effect |= Syntax


|p1= name: [[String]] - the text to be displayed |= Parameter 1
|p1= effect: [[Array]] |= Parameter 1


|p2= type: [[String]] |= Parameter 2
|p2= name: [[String]] - the text to be displayed |= Parameter 2


|p3= speed: [[Number]] - time in seconds in which the text will be faded in. |= Parameter 3
|p3= type: [[String]] |= Parameter 3
 
|p4= speed: [[Number]] - time in seconds in which the text will be faded in. |= Parameter 4


| [[Nothing]] |= Return value
| [[Nothing]] |= Return value

Revision as of 21:33, 21 January 2009

Hover & click on the images for description

Description

Description:
Text background - effect is in format ["name", "type", speed] or ["name", "type"]. If speed is not given, 1 is assumed. Type may be one of:
  • "PLAIN"
  • "PLAIN DOWN"
  • "BLACK"
  • "BLACK FADED"
  • "BLACK OUT"
  • "BLACK IN"
  • "WHITE OUT"
  • "WHITE IN"
See Title Effect Type for more information about these values.
Groups:
Uncategorised

Syntax

Syntax:
cutText effect
Parameters:
effect: Array
name: String - the text to be displayed
type: String
speed: Number - time in seconds in which the text will be faded in.
Return Value:
Nothing

Examples

Example 1:
cutText ["","BLACK OUT"]
cutText ["Hello World!","PLAIN",2]

Additional Information

See also:
titleText

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