Difference between revisions of "preloadTitleObj"

From Bohemia Interactive Community
Jump to navigation Jump to search
 
m (Add group)
 
(34 intermediate revisions by 10 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands|C]]
+
{{Command|Comments=
[[Category:Scripting Commands ArmA|C]]
+
____________________________________________________________________________________________
  
<new command not populated>
+
| arma |Game name=
  
 +
|1.00|Game version=
  
<h2 style="color:#000066">''''' preloadTitleObj '''''</h2>
+
|gr1= GUI Control |GROUP1=
 +
____________________________________________________________________________________________
  
 +
| Preloads data for the given resource object. |DESCRIPTION=
 +
____________________________________________________________________________________________
  
'''Operand types:'''
+
|'''preloadTitleObj''' [name, type, speed, showInMap] |SYNTAX=
  
'''Type of returned value:'''
+
|p1= [name, type, speed, showInMap]: [[Array]] |PARAMETER1=
 +
|p2= name: [[String]] - defined in <tt>[[configFile]] >> "CfgTitles" >> name</tt> |PARAMETER2=
 +
|p3= type: [[String]] - "PLAIN" e.g. |PARAMETER3=
 +
|p4= speed (Optional): [[Number]] - Default: -1|PARAMETER4=
 +
|p5= showInMap (Optional): [[Boolean]] - Default: [[true]] |PARAMETER5=
 +
|[[Boolean]] |RETURNVALUE=
 +
____________________________________________________________________________________________
 +
 
 +
|x1= <code>_ok = [[preloadTitleObj]] ["BISLogo", "PLAIN"]</code> |EXAMPLE1=
 +
____________________________________________________________________________________________
  
'''Compatibility:'''
+
| [[cutObj]] |SEEALSO=
  
'''Description:'''
+
}}
  
 +
<h3 style="display:none">Notes</h3>
 +
<dl class="command_description">
 +
<!-- Note Section BEGIN -->
  
'''Example:'''
+
<!-- Note Section END -->
 +
</dl>
 +
 
 +
<h3 style="display:none">Bottom Section</h3>
 +
[[Category:Scripting Commands OFP Elite|{{uc:{{PAGENAME}}}}]]
 +
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
 +
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
 +
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]

Latest revision as of 14:25, 25 September 2020

Introduced with Armed Assault version 1.001.00
Hover & click on the images for descriptions

Description

Description:
Preloads data for the given resource object.

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
Groups:
GUI Control

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.

Notes

Bottom Section