Is3DLoaded - ObjectReference
Member of: ObjectReference Script
Checks to see if this object has its 3D currently loaded.
SyntaxEdit
bool Function Is3DLoaded() native
ParametersEdit
None.
Return ValueEdit
If this object has its 3D currently loaded.
ExamplesEdit
; Does the car have 3d?
if (Car.Is3DLoaded())
; We can animate it now, if we want
endIf
NotesEdit
If you need to have the 3d of an object loaded before you progress, consider using WaitFor3DLoad instead, as it will not only be more efficient, but also will not be semi-permanently stuck if the object's 3d is not going to load anytime soon (i.e. a while loop using Is3DLoaded on a disabled object).