preloadTitleObj: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]OFP[ _]Elite(\|.*)?\]\]" to "{{GameCategory|ofpe|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma1 |Game name=
| arma1 |Game name=
Line 7: Line 6:


|gr1= GUI Control |GROUP1=
|gr1= GUI Control |GROUP1=
____________________________________________________________________________________________


| Preloads data for the given resource object. |DESCRIPTION=
| Preloads data for the given resource object. |DESCRIPTION=
____________________________________________________________________________________________


|'''preloadTitleObj''' [name, type, speed, showInMap] |SYNTAX=
|'''preloadTitleObj''' [name, type, speed, showInMap] |SYNTAX=
Line 20: Line 17:
|p5= showInMap (Optional): [[Boolean]] - Default: [[true]] |PARAMETER5=
|p5= showInMap (Optional): [[Boolean]] - Default: [[true]] |PARAMETER5=
|[[Boolean]] |RETURNVALUE=
|[[Boolean]] |RETURNVALUE=
____________________________________________________________________________________________
   
   
|x1= <code>_ok = [[preloadTitleObj]] ["BISLogo", "PLAIN"]</code> |EXAMPLE1=
|x1= <code>_ok = [[preloadTitleObj]] ["BISLogo", "PLAIN"]</code> |EXAMPLE1=
____________________________________________________________________________________________


| [[cutObj]] |SEEALSO=
| [[cutObj]] |SEEALSO=

Revision as of 03:16, 17 January 2021

Hover & click on the images for description

Description

Description:
Preloads data for the given resource object.
Groups:
GUI Control

Syntax

Syntax:
preloadTitleObj [name, type, speed, showInMap]
Parameters:
[name, type, speed, showInMap]: Array
name: String - defined in configFile >> "CfgTitles" >> name
type: String - "PLAIN" e.g.
speed (Optional): Number - Default: -1
showInMap (Optional): Boolean - Default: true
Return Value:
Boolean

Examples

Example 1:
_ok = preloadTitleObj ["BISLogo", "PLAIN"]

Additional Information

See also:
cutObj

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