IsElementStreamedIn: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(New page: __NOTOC__ {{Client function}} This function checks whether an element is currently streamed in (not virtualized) and are actual GTA objects in the world. You can force an element to be...)
 
No edit summary
Line 23: Line 23:
==See Also==
==See Also==
{{Client element functions}}
{{Client element functions}}
{{Needs example}}
{{Needs Example}}

Revision as of 11:01, 17 January 2008

This function checks whether an element is currently streamed in (not virtualized) and are actual GTA objects in the world. You can force an element to be streamed in using setElementStreamable.
DP2 can return true even if this element is not fully streamed in. This can happen during the period when the vehicle/object model is loading while the element is not actually fully created yet.

Syntax

bool isElementStreamedIn ( element theElement )

Required Arguments

  • theElement: The element to check whether is streamed in or not.

Returns

Returns true if the passed element is currently streamed in, false if it is virtualized.

Example


See Also




Accessories-text-editor.png Script Example Missing Function IsElementStreamedIn needs a script example, help out by writing one.

Before submitting check out Editing Guidelines Script Examples.