setTitleEffect

From Bohemia Interactive Community
Revision as of 22:12, 4 July 2006 by Planck (talk | contribs)
Jump to navigation Jump to search


trigger or waypoint setTitleEffect [type, effect, text]


Operand types:

trigger or waypoint: Object or Array

[type, effect, text]: Array

Type of returned value:

Nothing

Compatibility:

Version 1.86 required.

Description:

Defines the title effect.

Type can be "NONE", "OBJECT", "RES" or "TEXT".

For "TEXT", the effect defines a subtype: "PLAIN", "PLAIN DOWN", "BLACK", "BLACK FADED", "BLACK OUT", "BLACK IN", "WHITE OUT" or "WHITE IN".

Text is shown as text itself.

For "OBJECT", text defines the shown object, a subclass of CfgTitles.

For "RES", text defines a resource class, a subclass of RscTitles.


Example:

trigger setTitleEffect ["TEXT", "PLAIN DOWN", "Hello world."]