cutText

From Bohemia Interactive Community
Revision as of 22:49, 27 May 2006 by Raedor (talk | contribs)
Jump to navigation Jump to search


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]