titleObj: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(game[0-9]|version[0-9]|gr[0-9]|serverExec|mp|pr|descr|s[0-9]|p[0-9]{1,3}|r[0-9]|x1?[0-9]|seealso) *= +" to " |$1= ")
m (Text replacement - "\|s([0-9])\= '''([^' ]+)'''([^ ]+) " to "|s$1= $2$3 ")
Line 26: Line 26:
|descr= Shows object defined in global config in CfgTitles
|descr= Shows object defined in global config in CfgTitles


|s1= '''titleObj''' [class, type, speed, showInMap]
|s1= [[titleObj]] [class, type, speed, showInMap]


|p1= [class, type, speed, showInMap]: [[Array]]
|p1= [class, type, speed, showInMap]: [[Array]]

Revision as of 17:09, 20 June 2021

Hover & click on the images for description

Description

Description:
Shows object defined in global config in CfgTitles
Groups:
GUI Control

Syntax

Syntax:
titleObj [class, type, speed, showInMap]
Parameters:
[class, type, speed, showInMap]: Array
class: String - defined in configFile >> "CfgTitles" >> class
type: String one of "PLAIN", "PLAIN DOWN", "BLACK", "BLACK FADED", "BLACK OUT", "BLACK IN", "WHITE OUT" and "WHITE IN". See Title Effect Types for more information about these values.
speed (Optional): Number - Time in seconds to fade in resource. Default: -1
showInMap (Optional): Boolean - false to hide the text when the map is opened. Default: true
Return Value:
Nothing

Examples

Example 1:
titleObj ["BISLogo", "PLAIN"]

Additional Information

See also:
titleTexttitleRsccutRsccutObjcutTextallActiveTitleEffects

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