preloadObject: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (reset ver)
mNo edit summary
Line 21: Line 21:
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
|x1= <pre>[[spawn]] {[[waitUntil]] preloadObject "SoldierW"} [[spawn]] {[[waitUntil]] preloadObject [[leader]] [[player]]}</pre> |= Example 1
|x1= <pre>[[spawn]] {[[waitUntil]] 1 preloadObject "SoldierW"} [[spawn]] {[[waitUntil]] 5 preloadObject [[leader]] [[player]]}</pre> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 14:03, 5 October 2006

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

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]] 1 preloadObject "SoldierW"} [[spawn]] {[[waitUntil]] 5 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

Notes

Bottom Section