cutText: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
[[Category:Scripting Commands|CUTTEXT]]
[[Category:Scripting Commands|CUTTEXT]]
[[Category:Scripting Commands OFP 1.97|CUTTEXT]]
[[Category:Scripting Commands OFP 1.96|CUTTEXT]]
[[Category:Scripting Commands OFP 1.46|CUTTEXT]]
[[Category:Scripting Commands OFP 1.46|CUTTEXT]]
[[Category:Scripting Commands ArmA|CUTTEXT]]
[[Category:Scripting Commands ArmA|CUTTEXT]]

Revision as of 20:10, 1 June 2006


cutText effect


Operand types:

effect: Array

Type of returned value:

Nothing

Description:

Text background - arguments 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"

Also see titleText, with these two commands you can show two different texts at once (optimally with two different types).


Example:

cutText ["", "BLACK OUT"] cutText ["", "BLACK OUT", 10]