cutText: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Arma2 layer parameter)
m (corr. classification)
Line 64: Line 64:
[[Category:Scripting Commands OFP 1.46|CUTTEXT]]
[[Category:Scripting Commands OFP 1.46|CUTTEXT]]
[[Category:Scripting Commands ArmA|CUTTEXT]]
[[Category:Scripting Commands ArmA|CUTTEXT]]
[[Category:Command_Group:_Camera_Control|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Interaction|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]

Revision as of 22:46, 25 September 2009

Hover & click on the images for description

Description

Description:
Text background - effect is in format ["text", "type", (speed)]. 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:
(layer) cutText effect
Parameters:
layer: Number - This parameter is optional and only available in Arma 2. Omit it for earlier versions. It defines the layer in which the effect is shown, where 0 is the back most.
effect: Array
text: 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]
Example 2:
2 cutText ["Hello World!","PLAIN",2];

Additional Information

See also:
titleTextcutRsccutObj

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