setTitleEffect: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code>([^ ]*)\[\[([a-zA-Z][a-zA-Z0-9_]+)\]\]([^ ]*)<\/code>" to "<code>$1$2$3</code>")
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
Line 61: Line 61:
|r2= [[Nothing]]
|r2= [[Nothing]]


|x1= <code>_trigger setTitleEffect ["TEXT", "PLAIN DOWN", "Hello world."]</code>
|x1= <sqf>_trigger setTitleEffect ["TEXT", "PLAIN DOWN", "Hello world."]</sqf>


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

Revision as of 10:24, 13 May 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 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