Page tree
Skip to end of metadata
Go to start of metadata


Introduced in

Version:1.00

Description

Description:Displays a text message in the center of the screen.

Syntax

Syntax:cutText [text, type, speed]
Parameters:
  • text: String - Text to display.
  • type: String - Can be one either (see Title Effect Type for more information about these values):
    • "PLAIN"
    • "PLAIN DOWN"
    • "BLACK"
    • "BLACK FADED"
    • "BLACK OUT"
    • "BLACK IN"
    • "WHITE OUT"
    • "WHITE IN"
  • speed: Number - Time in seconds to fade in the resource (optional, default: 1).
Return Value:Nothing

Alternative Syntax

Syntax:layer cutText [text,type,speed]
Parameters:
  • layer: Number - Defines the layer in which the effect is shown, where 0 is the rearmost one.
  • text: String - Text to display.
  • type: String - Can be one either (see Title Effect Type for more information about these values):
    • "PLAIN"
    • "PLAIN DOWN"
    • "BLACK"
    • "BLACK FADED"
    • "BLACK OUT"
    • "BLACK IN"
    • "WHITE OUT"
    • "WHITE IN"
  • speed: Number - Time in seconds to fade in the resource (optional, default: 1).
Return Value:Nothing

Examples

Examples:
cutText ["","BLACK OUT"]
cutText ["Hello World!","PLAIN",2]
2 cutText ["Hello World!","PLAIN",2];

Additional Information

See also: titleText, cutRsc, cutObj
Multiplayer: 
Problems: 

Notes