preloadTitleObj: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Changed version and product)
m (Text replacement - "[[Category:Scripting Commands ArmA|" to "[[Category:Scripting Commands Armed Assault|")
(27 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{{Command|= Comments
{{Command|Comments=
____________________________________________________________________________________________
____________________________________________________________________________________________


| arma |= Game name
| arma |Game name=


|?? |= Game version
|1.00|Game version=
____________________________________________________________________________________________
____________________________________________________________________________________________


| Object title - argument uses format ["text","type",speed] or ["name","type"]. Speed is ignored. Preload data the object can be defined in the description.ext file. |= Description
| Preloads data for the given resource object. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''preloadTitleObj''' effect |= Syntax
|'''preloadTitleObj''' [name, type, speed, showInMap] |SYNTAX=


|p1= effect: [[Array]] |= Parameter 1
|p1= [name, type, speed, showInMap]: [[Array]] |PARAMETER1=
 
|p2= name: [[String]] - defined in <tt>[[configFile]] >> "CfgTitles" >> name</tt> |PARAMETER2=
| [[Boolean]] |= Return value
|p3= type: [[String]] - "PLAIN" e.g. |PARAMETER3=
|p4= speed (Optional): [[Number]] - Default: -1|PARAMETER4=
|p5= showInMap (Optional): [[Boolean]] - Default: [[true]] |PARAMETER5=
|[[Boolean]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>preloadTitleObj ["BISLogo","plain"]</pre> |= Example 1
|x1= <code>_ok = [[preloadTitleObj]] ["BISLogo", "PLAIN"]</code> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= See also
| [[cutObj]] |SEEALSO=


}}
}}
Line 34: Line 37:
[[Category:Scripting Commands|PRELOADTITLEOBJ]]
[[Category:Scripting Commands|PRELOADTITLEOBJ]]
[[Category:Scripting Commands OFP Elite |PRELOADTITLEOBJ]]
[[Category:Scripting Commands OFP Elite |PRELOADTITLEOBJ]]
[[Category:Scripting Commands ArmA|PRELOADTITLEOBJ]]
[[Category:Scripting Commands Armed Assault|PRELOADTITLEOBJ]]
[[Category:Scripting Commands Arma 2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Take On Helicopters|{{uc:{{PAGENAME}}}}]]

Revision as of 20:44, 3 June 2020

-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