preloadTitleRsc: Difference between revisions
Jump to navigation
Jump to search
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
(split up different syntax -> increase readability + added Parameter) |
||
Line 12: | Line 12: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | |'''preloadTitleRsc''' [name, type] |= Syntax | ||
|p1= | |p1= [name, type]: [[Array]] |= Parameter 1 | ||
|p2= name: [[String]] defined in [[Description.ext]] for the mission |= Parameter 2 | |p2= name: [[String]] defined in [[Description.ext]] for the mission |= Parameter 2 | ||
|p3= type: [[String]] "PLAIN" e.g. |= Parameter 3 | |p3= type: [[String]] "PLAIN" e.g. |= Parameter 3 | ||
| | | [[Boolean]] |= Return value | ||
| [[Boolean]] |= Return value | |s2= '''preloadTitleRsc''' [name, type, speed, showInMap] |= Syntax | ||
|p21= [name, type, speed, showInMap]: [[Array]] |= PARAMETER1 | |||
|p22= name: [[String]] defined in [[Description.ext]] for the mission |= Parameter 2 | |||
|p23= type: [[String]] "PLAIN" e.g. |= Parameter 3 | |||
|p24= speed (optional): [[Number]] - IGNORED |= Parameter 4 | |||
|p25= showInMap: [[Boolean]] | |||
|r2= [[Boolean]] |= Return value | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 08:52, 30 April 2015
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