Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:3.5

Description

Description: Returns the layer index for an editor object.

Syntax

Syntax: map getObjectLayer edobj
Parameters:
Return Value: Number - Index of layer object resides in (-1 = base layer, 0 = first custom layer, etc.).

Examples

Examples:
_id = map getObjectLayer "_vehicle_2"; // might return 1

Additional Information

See also: moveToLayer, getLayers, findEditorObjects
Multiplayer: 
Problems: 

Notes