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



Introduced in

Version:1.00

Description

Description:Defines the title effect.

Syntax

Syntax:trigger setTitleEffect [type, effect, text]
Parameters:
  • trigger: Object - Trigger the title is associated with.
  • type: String - Can be:
    • "NONE" - No effect is applied.
    • "OBJECT" - The text parameter defines the shown object, a subclass of CfgTitles.
    • "RES" - The text parameter defines a resource class, a subclass of RscTitles.
    • "TEXT" - The text parameter is shown as the text itself.
  • effect: String - Defines the effect sub-type: "PLAIN", "PLAIN DOWN", "BLACK", "BLACK FADED", "BLACK OUT", "BLACK IN", "WHITE OUT", or "WHITE IN".
  • text: String - Title text.
Return Value:Nothing

Alternative Syntax

Syntax:waypoint setTitleEffect [type, effect, text]
Parameters:
  • waypoint: ArrayWaypoint the title is associated with.
  • type: String - Can be:
    • "NONE" - No effect is applied.
    • "OBJECT" - The text parameter defines the shown object, a subclass of CfgTitles.
    • "RES" - The text parameter defines a resource class, a subclass of RscTitles.
    • "TEXT" - The text parameter is shown as the text itself.
  • effect: String - Defines the effect sub-type: "PLAIN", "PLAIN DOWN", "BLACK", "BLACK FADED", "BLACK OUT", "BLACK IN", "WHITE OUT", or "WHITE IN".
  • text: String - Title text.
Return Value:Nothing

Examples

Examples:
_trigger setTitleEffect ["TEXT", "PLAIN DOWN", "Hello world."];

Additional Information

See also: Title Effect Type
Multiplayer:
Problems:

Notes