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



Introduced in

Version:1.00

Description

Description:

Displays a HUDs resource, which was defined in the RscTitles section of the mission description.ext (see Scripting with description.ext in the VBS3 Scripting Manual), or an addon config.cpp.

When used together with cutRsc, different HUDs can be shown at the same time.

Syntax

Syntax:titleRsc [text, type, speed]
Parameters:
  • text: String - Class name of the resource ("Default" will remove the current resource).
  • type: String - Either "PLAIN", "PLAIN DOWN", "BLACK", "BLACK FADED", "BLACK OUT", "BLACK IN", "WHITE OUT" and "WHITE IN". See Title Effect Type for more information about these values.
  • speed: Number - Fade in time (in seconds) (optional, default: 1).
Return Value:Nothing

Examples

Examples:
titleRsc ["BIS", "PLAIN"]

Additional Information

See also: cutRsc
Multiplayer:
Problems:

Notes