setTitleEffect: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3> " to "") |
Lou Montana (talk | contribs) 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 | {{Command | ||
| arma1 | | arma1 | ||
|1.00 | |1.00 | ||
|gr1= Triggers | |gr1= Triggers | ||
|gr2= Waypoints | |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". | **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] | | trigger '''setTitleEffect''' [type, effect, text] | ||
|p1= trigger: [[Object]] | |p1= trigger: [[Object]] | ||
|p2= [type, effect, text]: [[Array]] of strings. See above | |p2= [type, effect, text]: [[Array]] of strings. See above | ||
| [[Nothing]] | | [[Nothing]] | ||
|s2= waypoint '''setTitleEffect''' [type, effect, text] | |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]] | |r2= [[Nothing]] | ||
|x1= <pre>_trigger setTitleEffect ["TEXT", "PLAIN DOWN", "Hello world."]</pre> | |x1= <pre>_trigger setTitleEffect ["TEXT", "PLAIN DOWN", "Hello world."]</pre> | ||
| [[createTrigger]] | | [[createTrigger]] | ||
}} | }} |
Revision as of 11:12, 18 January 2021
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
Categories:
- Scripting Commands
- Introduced with Armed Assault version 1.00
- ArmA: Armed Assault: New Scripting Commands
- ArmA: Armed Assault: Scripting Commands
- Command Group: Triggers
- Command Group: Waypoints
- Operation Flashpoint: Elite: Scripting Commands
- Arma 2: Scripting Commands
- Arma 3: Scripting Commands
- Take On Helicopters: Scripting Commands