preloadTitleObj: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (template:command argument fix)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Object title -  Preload data the object can be defined in the [[Description.ext]] file. |= Description
| Object title -  Preload data the object can be defined in the [[Description.ext]] file. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


|'''preloadTitleObj''' [name, type] |= Syntax
|'''preloadTitleObj''' [name, type] |SYNTAX=


|p1= [name, type]: [[Array]] |= Parameter 1
|p1= [name, type]: [[Array]] |PARAMETER1=
|p2= name: [[String]] defined in [[Description.ext]] for the mission |= Parameter 2
|p2= name: [[String]] defined in [[Description.ext]] for the mission |PARAMETER2=
|p3= type: [[String]] "PLAIN" e.g. |= Parameter 3
|p3= type: [[String]] "PLAIN" e.g. |PARAMETER3=
| [[Boolean]] |= Return value
| [[Boolean]] |RETURNVALUE=


|s2= '''preloadTitleObj''' [name, type, speed, showInMap] |= Syntax
|s2= '''preloadTitleObj''' [name, type, speed, showInMap] |SYNTAX=
|p21= [name, type, speed, showInMap]: [[Array]] |PARAMETER1=
|p21= [name, type, speed, showInMap]: [[Array]] |PARAMETER1=
|p22= name: [[String]] defined in [[Description.ext]] for the mission |= Parameter 2
|p22= name: [[String]] defined in [[Description.ext]] for the mission |PARAMETER2=
|p23= type: [[String]] "PLAIN" e.g. |= Parameter 3
|p23= type: [[String]] "PLAIN" e.g. |PARAMETER3=
|p24= speed (optional): [[Number]] - IGNORED |= Parameter 4
|p24= speed (optional): [[Number]] - IGNORED |PARAMETER4=
|p25= showInMap: [[Boolean]]
|p25= showInMap: [[Boolean]]
|r2= [[Boolean]] |= Return value
|r2= [[Boolean]] |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>_ok=preloadTitleObj ["BISLogo","plain"]</pre> |= Example 1
|x1= <pre>_ok=preloadTitleObj ["BISLogo","plain"]</pre> |EXAMPLE1=
____________________________________________________________________________________________
____________________________________________________________________________________________


|  |= See also
|  |SEEALSO=


}}
}}

Revision as of 14:44, 7 April 2019

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

Description

Description:
Object title - Preload data the object can be defined in the Description.ext file.
Groups:
Uncategorised

Syntax

Syntax:
preloadTitleObj [name, type]
Parameters:
[name, type]: Array
name: String defined in Description.ext for the mission
type: String "PLAIN" e.g.
Return Value:
Boolean

Alternative Syntax

Syntax:
preloadTitleObj [name, type, speed, showInMap]
Parameters:
[name, type, speed, showInMap]: Array
name: String defined in Description.ext for the mission
type: String "PLAIN" e.g.
speed (optional): Number - IGNORED
showInMap: Boolean
Return Value:
Boolean

Examples

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

Additional Information

See also:
See also needed

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