preloadObject: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (reset ver) |
||
Line 4: | Line 4: | ||
| arma |= Game name | | arma |= Game name | ||
| | |1.00|= Game version | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| 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 | | 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. |= Description | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 03:26, 29 September 2006
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
- Syntax:
- distance preloadObject object
- Parameters:
- distance: Number
- object: String
- Return Value:
- Boolean
Examples
- Example 1:
[[spawn]] {[[waitUntil]] preloadObject "SoldierW"} [[spawn]] {[[waitUntil]] 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