preloadTitleRsc: Difference between revisions
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. |= | The resource can be defined in the [[Description.ext]] file. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|'''preloadTitleRsc''' [name, type] |= | |'''preloadTitleRsc''' [name, type] |SYNTAX= | ||
|p1= [name, type]: [[Array]] |= | |p1= [name, type]: [[Array]] |PARAMETER1= | ||
|p2= name: [[String]] defined in [[Description.ext]] for the mission |= | |p2= name: [[String]] defined in [[Description.ext]] for the mission |PARAMETER2= | ||
|p3= type: [[String]] "PLAIN" e.g. |= | |p3= type: [[String]] "PLAIN" e.g. |PARAMETER3= | ||
| [[Boolean]] |= | | [[Boolean]] |RETURNVALUE= | ||
|s2= '''preloadTitleRsc''' [name, type, speed, showInMap] |= | |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 |= | |p22= name: [[String]] defined in [[Description.ext]] for the mission |PARAMETER2= | ||
|p23= type: [[String]] "PLAIN" e.g. |= | |p23= type: [[String]] "PLAIN" e.g. |PARAMETER3= | ||
|p24= speed (optional): [[Number]] - IGNORED |= | |p24= speed (optional): [[Number]] - IGNORED |PARAMETER4= | ||
|p25= showInMap: [[Boolean]] | |p25= showInMap: [[Boolean]] | ||
|r2= [[Boolean]] |= | |r2= [[Boolean]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <pre>_ok=preloadTitleRsc ["BIS", "PLAIN"]</pre> |= | |x1= <pre>_ok=preloadTitleRsc ["BIS", "PLAIN"]</pre> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| |= | | |SEEALSO= | ||
}} | }} |
Revision as of 14:44, 7 April 2019
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