LakeLevelHandle

Package: Libraries.Interface.Controls.Scenes.Items · Inherits from: Libraries.Interface.Item3D, Libraries.Interface.Item, Libraries.Language.Object, Libraries.Game.Graphics.Model

The LakeLevelHandle is the scene editor's handle for a chosen lake: an upright post from the lowest ground under the lake up to its water, with a flat ring at the water's level. Dragging it up or down raises or lowers the water. It is an editor helper, not a scene item, and lets clicks through; the scene editor tests clicks on it itself. The post and ring are made once, one unit tall, and stretched to the water's height, so moving the level doesn't make a new model.

Example Code

use Libraries.Interface.Controls.Scenes.Items.LakeLevelHandle

LakeLevelHandle handle
handle:Place(10, 2, 20, 6)

Actions

Place(number x, number ground, number z, number level)

This action puts the handle at a lake's lowest ground, reaching up to its water.

Parameters

  • x number: The lowest ground's place along x
  • ground number: The lowest ground's height
  • z number: The lowest ground's place along z
  • level number: The water's level

Inherited Actions

112 actions from Libraries.Game.Graphics.Model
62 actions from Libraries.Interface.Item
211 actions from Libraries.Interface.Item3D
3 actions from Libraries.Language.Object