preloadTitleObj: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (template:command argument fix)
(15 intermediate revisions by 8 users not shown)
Line 2: Line 2:
____________________________________________________________________________________________
____________________________________________________________________________________________


| ofp |= Game name
| arma |= Game name


|1.00|= Game version
|1.00|= Game version
____________________________________________________________________________________________
____________________________________________________________________________________________


| Object title - argument uses format ["text","type",speed] or ["name","type"]. Speed is ignored. 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''' effect |= Syntax
|'''preloadTitleObj''' [name, type] |SYNTAX=


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


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


|  |= See also
|  |SEEALSO=


}}
}}
Line 35: Line 44:
[[Category:Scripting Commands OFP Elite |PRELOADTITLEOBJ]]
[[Category:Scripting Commands OFP Elite |PRELOADTITLEOBJ]]
[[Category:Scripting Commands ArmA|PRELOADTITLEOBJ]]
[[Category:Scripting Commands ArmA|PRELOADTITLEOBJ]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]

Revision as of 15: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