setTitleEffect: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 23: Line 23:
'''Description:'''
'''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.
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.





Revision as of 22:12, 4 July 2006


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."]