setTitleEffect: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "\|seealso= *\[\[([^ ]+)\]\], \[\[([^ ]+)\]\]" to "|seealso= $1 $2")
Line 63: Line 63:
|x1= <code>_trigger [[setTitleEffect]] ["TEXT", "PLAIN DOWN", "Hello world."]</code>
|x1= <code>_trigger [[setTitleEffect]] ["TEXT", "PLAIN DOWN", "Hello world."]</code>


|seealso= [[createTrigger]], [[setSoundEffect]], [[setMusicEffect]]
|seealso= [[createTrigger]] [[setSoundEffect]], [[setMusicEffect]]
}}
}}

Revision as of 18:58, 20 January 2022

Hover & click on the images for description

Description

Description:
Defines the title effect to show on activation via [Type, Effect, Text] where 'Type' can be The title effect does not disappear on deactivation, this should be done manually if required.
Groups:
TriggersWaypoints

Syntax

Syntax:
trigger setTitleEffect [type, effect, text]
Parameters:
trigger: Object
[type, effect, text]: Array of String - See above
type: String
effect: String
text: String
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 setSoundEffectsetMusicEffect

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