SetObjectLayer

Kategorie: Objekte / Status
Ab Engineversion: 7.0 OC

Beschreibung

Moves the object into the specified layer.

Syntax

void SetObjectLayer(object layer);

Parameter

layer:
The layer the object will be moved into.

Anmerkung

Layers in OC do not affect the drawing of objects onto the screen, but they affect the interaction of objects. Objects in different layers do not interaction with each other. You can for example use layers to make sure NPCs can not be killed or thrown out of the landscape by the players.
Siehe auch: FindObject, FindObjects, Find_AnyLayer, Find_Layer, GetObjectLayer
Maikel, 2015-09