setTitleEffect: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
Line 17: Line 17:
**'Text' defines a resource class, a subclass of RscTitles.
**'Text' defines a resource class, a subclass of RscTitles.
*"TEXT"
*"TEXT"
**The 'Text' is shown as text itself. 'Effect' defines a subtype: "PLAIN", "PLAIN DOWN", "BLACK", "BLACK FADED", "BLACK OUT", "BLACK IN", "WHITE OUT" or "WHITE IN".  |= Description
**The 'Text' is shown as text itself. 'Effect' defines a subtype: "PLAIN", "PLAIN DOWN", "BLACK", "BLACK FADED", "BLACK OUT", "BLACK IN", "WHITE OUT" or "WHITE IN".  |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| trigger '''setTitleEffect''' [type, effect, text] |= Syntax
| trigger '''setTitleEffect''' [type, effect, text] |SYNTAX=


|p1= trigger: [[Object]] |= Parameter 1
|p1= trigger: [[Object]] |PARAMETER1=


|p2= [type, effect, text]: [[Array]] of strings. See above  |= Parameter 2
|p2= [type, effect, text]: [[Array]] of strings. See above  |PARAMETER2=


| [[Nothing]] |= Return value
| [[Nothing]] |RETURNVALUE=
|s2= waypoint '''setTitleEffect''' [type, effect, text] |= Syntax
|s2= waypoint '''setTitleEffect''' [type, effect, text] |SYNTAX=


|p21= waypoint: [[Array]] - format [[Waypoint]] |= Parameter 1
|p21= waypoint: [[Array]] - format [[Waypoint]] |PARAMETER1=


|p22= [type, effect, text]: [[Array]] of strings. See above  |= Parameter 2
|p22= [type, effect, text]: [[Array]] of strings. See above  |PARAMETER2=


|r2= [[Nothing]] |= Return value
|r2= [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>_trigger setTitleEffect ["TEXT", "PLAIN DOWN", "Hello world."]</pre> |= Example 1
|x1= <pre>_trigger setTitleEffect ["TEXT", "PLAIN DOWN", "Hello world."]</pre> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[createTrigger]] |= See also
| [[createTrigger]] |SEEALSO=


}}
}}

Revision as of 14:48, 7 April 2019

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Defines the title effect via [Type, Effect, Text] where 'Type' can be
  • "NONE",
  • "OBJECT",
    • 'Text' defines the shown object , a subclass of CfgTitles.
  • "RES"
    • 'Text' defines a resource class, a subclass of RscTitles.
  • "TEXT"
    • The 'Text' is shown as text itself. 'Effect' defines a subtype: "PLAIN", "PLAIN DOWN", "BLACK", "BLACK FADED", "BLACK OUT", "BLACK IN", "WHITE OUT" or "WHITE IN".
Groups:
Uncategorised

Syntax

Syntax:
trigger setTitleEffect [type, effect, text]
Parameters:
trigger: Object
[type, effect, text]: Array of strings. See above
Return Value:
Nothing

Alternative Syntax

Syntax:
waypoint setTitleEffect [type, effect, text]
Parameters:
waypoint: Array - format Waypoint
[type, effect, text]: Array of strings. See above
Return Value:
Nothing

Examples

Example 1:
_trigger setTitleEffect ["TEXT", "PLAIN DOWN", "Hello world."]

Additional Information

See also:
createTrigger

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section