WaitFor3DLoad - ObjectReference

Revision as of 14:47, 14 October 2014 by imported>Plplecuyer
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Member of: ObjectReference Script

Waits for this object's 3d to load, or until it knows the 3d won't load (object is disabled, cell unloads, etc).

SyntaxEdit

bool Function WaitFor3DLoad() native

ParametersEdit

None

Return ValueEdit

True if the 3d has loaded, false if the 3d failed to load or won't load.

ExamplesEdit

; Wait for 3d to load on another object before continuing
if OtherThing.WaitFor3DLoad()
  ; 3d loaded, do something with it
else
  ; 3d didn't load, so fallback here
endIf

See AlsoEdit