preloadObject: Difference between revisions
Jump to navigation
Jump to search
(Fixed examples.) |
mNo edit summary |
||
Line 12: | Line 12: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''distance preloadObject | | | ||
*[[Boolean]] <nowiki>=</nowiki> distance '''preloadObject''' [[Object]]|= Syntax | |||
*[[Boolean]] <nowiki>=</nowiki> distance '''preloadObject''' "Classname"|= Syntax | |||
|p1= distance: [[Number]] |= Parameter 1 | |p1= distance: [[Number]] |= Parameter 1 | ||
|p2 = Classname: [[String]] | |||
|p2= | |||
| [[Boolean]] |= Return value | | [[Boolean]] |= Return value |
Revision as of 08:11, 29 August 2007
Description
- Description:
- Preload all textures, materials and proxies needed to render given object. Object can be determined either by config class name, or by object id. Returns true once all data is loaded and ready.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
spawn {waitUntil 10 preloadObject "SoldierW"}
- Example 2:
spawn {waitUntil 10 preloadObject leader player}
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