setTitleEffect: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3> " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...)
Line 1: Line 1:
{{Command|Comments=
{{Command


| arma1 |Game name=
| arma1


|1.00|Game version=
|1.00


|gr1= Triggers |GROUP1=
|gr1= Triggers


|gr2= Waypoints |GROUP2=
|gr2= Waypoints


| Defines the title effect via [Type, Effect, Text] where
| Defines the title effect via [Type, Effect, Text] where
Line 19: Line 19:
**'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".


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


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


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


| [[Nothing]] |RETURNVALUE=
| [[Nothing]]
|s2= waypoint '''setTitleEffect''' [type, effect, text] |SYNTAX2=
|s2= waypoint '''setTitleEffect''' [type, effect, text]


|p21= waypoint: [[Array]] - format [[Waypoint]] |PARAMETER21=
|p21= waypoint: [[Array]] - format [[Waypoint]] |PARAMETER21=
Line 34: Line 34:
|p22= [type, effect, text]: [[Array]] of strings. See above  |PARAMETER22=
|p22= [type, effect, text]: [[Array]] of strings. See above  |PARAMETER22=


|r2= [[Nothing]] |RETURNVALUE2=
|r2= [[Nothing]]
   
   
|x1= <pre>_trigger setTitleEffect ["TEXT", "PLAIN DOWN", "Hello world."]</pre> |EXAMPLE1=
|x1= <pre>_trigger setTitleEffect ["TEXT", "PLAIN DOWN", "Hello world."]</pre>


| [[createTrigger]] |SEEALSO=
| [[createTrigger]]


}}
}}

Revision as of 11:12, 18 January 2021

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:
TriggersWaypoints

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