preloadTitleObj: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]OFP[ _]Elite(\|.*)?\]\]" to "{{GameCategory|ofpe|Scripting Commands}}") |
Lou Montana (talk | contribs) 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 02:16, 17 January 2021
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
Categories:
- Scripting Commands
- Introduced with Armed Assault version 1.00
- ArmA: Armed Assault: New Scripting Commands
- ArmA: Armed Assault: Scripting Commands
- Command Group: GUI Control
- Operation Flashpoint: Elite: Scripting Commands
- Arma 2: Scripting Commands
- Arma 3: Scripting Commands
- Take On Helicopters: Scripting Commands