setTitleEffect: Difference between revisions
| Lou Montana (talk | contribs) m (Text replacement - "\| arma1  \|1.00  \|([^g]|g[^a])" to "| ofpe | 1.00  |game2= arma1 |version2= 1.00  |game3= arma2 |version3= 1.00  |game4= arma2oa |version4= 1.50  |game5= tkoh |version5= 1.00  |game6= arma3 |version6= 0.50  |$1") | Lou Montana (talk | contribs)  | ||
| (15 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
| {{RV|type=command | {{RV|type=command | ||
| | ofpe | |game1= ofpe | ||
| | 1.00 | |version1= 1.00 | ||
| |game2= arma1 | |game2= arma1 | ||
| Line 23: | Line 23: | ||
| |gr2= Waypoints | |gr2= Waypoints | ||
| | Defines the title effect to show on activation via [Type, Effect, Text] where | |descr= Defines the title effect to show on activation via [Type, Effect, Text] where | ||
| 'Type'  | 'Type'   | ||
| The title effect does not disappear on deactivation, this should be done manually if required. | The title effect does not disappear on deactivation, this should be done manually if required. | ||
| |  | |s1= triggerOrWaypoint [[setTitleEffect]] [type, effect, text] | ||
| |p1=  | |p1= triggerOrWaypoint: [[Object]] or [[Array]] format [[Waypoint]] | ||
| |p2= [ | |p2= type: [[String]] - defines [[Title Effect Type]] when not NONE, can be one of: | ||
| * "NONE" | |||
| * "OBJECT" - ''text'' defines the shown object , a subclass of {{hl|CfgTitles}} (see [[cutObj]]) | |||
| * "RES" - ''text'' defines a resource class, a subclass of RscTitles (see [[cutRsc]]) | |||
| * "TEXT" - ''text'' defines text string to show (see [[cutText]]) | |||
| | [[ | |p3= effect: [[String]] | ||
| | | |p4= text: [[String]] | ||
| | | |r1= [[Nothing]] | ||
| | | |x1= <sqf>_trigger setTitleEffect ["TEXT", "PLAIN DOWN", "Hello world."];</sqf> | ||
| |seealso= [[createTrigger]] [[setSoundEffect]] [[setMusicEffect]] | |||
| |seealso= [[createTrigger]] | |||
| }} | }} | ||
Latest revision as of 13:23, 14 January 2025
Description
- Description:
- Defines the title effect to show on activation via [Type, Effect, Text] where 'Type' The title effect does not disappear on deactivation, this should be done manually if required.
- Groups:
- TriggersWaypoints
Syntax
- Syntax:
- triggerOrWaypoint setTitleEffect [type, effect, text]
- Parameters:
- triggerOrWaypoint: Object or Array format Waypoint
- type: String - defines Title Effect Type when not NONE, can be one of:
- effect: String
- text: String
- Return Value:
- Nothing
Examples
- Example 1:
- _trigger setTitleEffect ["TEXT", "PLAIN DOWN", "Hello world."];
Additional Information
- See also:
- createTrigger setSoundEffect setMusicEffect
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 Operation Flashpoint: Elite version 1.00
- Operation Flashpoint: Elite: New Scripting Commands
- Operation Flashpoint: Elite: Scripting Commands
- ArmA: Armed Assault: Scripting Commands
- Arma 2: Scripting Commands
- Arma 2: Operation Arrowhead: Scripting Commands
- Take On Helicopters: Scripting Commands
- Arma 3: Scripting Commands
- Command Group: Triggers
- Command Group: Waypoints
 
	




