preloadTitleObj: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
(doesnt work with mission config)
(26 intermediate revisions by 9 users not shown)
Line 1: Line 1:
[[Category:Scripting Commands|PRELOADTITLEOBJ]]
{{Command|Comments=
[[Category:Scripting Commands OFP Elite |PRELOADTITLEOBJ]]
____________________________________________________________________________________________
[[Category:Scripting Commands ArmA|PRELOADTITLEOBJ]]


| arma |Game name=


<h2 style="color:#000066">''' preloadTitleObj ''effect'''''</h2>
|1.00|Game version=
____________________________________________________________________________________________


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


'''Operand types:'''
|'''preloadTitleObj''' [name, type, speed, showInMap] |SYNTAX=


'''effect:''' [[Array]]
|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=
____________________________________________________________________________________________


'''Type of returned value:'''
| [[cutObj]] |SEEALSO=


[[Boolean]]
}}


'''Description:'''
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


Object title - argument uses format '''["text","type",speed]''' or '''["name","type"]'''.
<!-- Note Section END -->
</dl>


Speed is ignored.
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Scripting Commands|PRELOADTITLEOBJ]]
Preload data the object can be defined in the description.ext file.
[[Category:Scripting Commands OFP Elite |PRELOADTITLEOBJ]]
 
[[Category:Scripting Commands ArmA|PRELOADTITLEOBJ]]
 
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
'''Example:'''
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
 
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
'''preloadTitleObj''' ["BISLogo","plain"]

Revision as of 23:13, 3 September 2019

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Preloads data for the given resource object.
Groups:
Uncategorised

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