setTitleEffect: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]OFP[ _]Elite *(\|.*)?\]\]" to "{{GameCategory|ofpe|Scripting Commands}}") |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Command|Comments= | {{Command|Comments= | ||
| arma1 |Game name= | | arma1 |Game name= | ||
Line 9: | Line 8: | ||
|gr2= Waypoints |GROUP2= | |gr2= Waypoints |GROUP2= | ||
| Defines the title effect via [Type, Effect, Text] where | | Defines the title effect via [Type, Effect, Text] where | ||
Line 22: | Line 20: | ||
*"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= | ||
Line 38: | Line 35: | ||
|r2= [[Nothing]] |RETURNVALUE2= | |r2= [[Nothing]] |RETURNVALUE2= | ||
|x1= <pre>_trigger setTitleEffect ["TEXT", "PLAIN DOWN", "Hello world."]</pre> |EXAMPLE1= | |x1= <pre>_trigger setTitleEffect ["TEXT", "PLAIN DOWN", "Hello world."]</pre> |EXAMPLE1= | ||
| [[createTrigger]] |SEEALSO= | | [[createTrigger]] |SEEALSO= |
Revision as of 02:36, 17 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
Notes
Bottom Section
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
- Command Group: Interaction
- Arma 2: Scripting Commands
- Arma 3: Scripting Commands
- Take On Helicopters: Scripting Commands