preloadTitleRsc: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (template:command argument fix)
Line 9: Line 9:
| Resource title - Preload data.
| Resource title - Preload data.


The resource can be defined in the [[Description.ext]] file. |= Description
The resource can be defined in the [[Description.ext]] file. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


|'''preloadTitleRsc''' [name, type] |= Syntax
|'''preloadTitleRsc''' [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= '''preloadTitleRsc''' [name, type, speed, showInMap] |= Syntax
|s2= '''preloadTitleRsc''' [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=preloadTitleRsc ["BIS", "PLAIN"]</pre> |= Example 1
|x1= <pre>_ok=preloadTitleRsc ["BIS", "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:
Resource title - Preload data. The resource can be defined in the Description.ext file.
Groups:
Uncategorised

Syntax

Syntax:
preloadTitleRsc [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:
preloadTitleRsc [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=preloadTitleRsc ["BIS", "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