preloadTitleRsc: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(split up different syntax -> increase readability + added Parameter)
Line 12: Line 12:
____________________________________________________________________________________________
____________________________________________________________________________________________


|[[Boolean]] <nowiki>=</nowiki> '''preloadTitleRsc''' [name, type, speed] ''or'' [name, type] |= Syntax
|'''preloadTitleRsc''' [name, type] |= Syntax


|p1= [name, type, speed] ''or'' [name, type]: [[Array]] |= Parameter 1
|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
|p4= speed: Optional and ignored |= Parameter 4
| [[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

-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