En:1.10:Other Objects

Aus EnigmaWiki

Wechseln zu: Navigation, Suche
Image:St-bombs.png
This page contains information about the forthcoming new API.
For the page in the current API, please see Other Objects (Old API).

Inhaltsverzeichnis

Visible others

ot_cannonball

Bild:ot_cannonball.png

A short living projectile emitted by an st_spitter. It is an internal object that can not be directly initiated. It is listed here just for completeness.

ot_rubberband

Bild:ot_rubberband.png

An orange link between two objects that can apply attracting or repelling forces to them. The two connected objects are called anchors. The attribute anchor1 holds the first object’s reference that must be an actor. The anchor2 references the second object that can either be another actor or a stone. Both objects must exist to add a rubberband to the world. If the stone sinks, breaks or is killed otherwise the rubberband will be destroyed, too.

Attributes

  • anchor1: values: actor object; default: nil

Object reference or name of an actor that the rubber will be connected to. Note that the reference will be immediately evaluated and thus the actor must exist already.

  • anchor2: values: actor or stone object; default: nil

Object reference or name of an actor or a stone that the rubber will be connected to. Note that the reference will be immediately evaluated and thus the actor or stone must exist already.

  • strength: values: number; default: 10.0

The force strength.

  • length: values: positive number; default: 1.0

The natural length above which forces are applied.

  • threshold: values: positive number or zero; default: 0.0

The length smaller than the natural length below which inverted forces are applied.

  • min: values: positive number or zero; default: 0.0

The minimum length at which actors bounce.

  • max: values: positive number or zero; default: 0.0

The maximum length at which actors bounce.

ot_wire

Bild:ot_wire.png

A wire is a purple wire connecting two stones that transfers every stone pushing impulse from one stone to the other and vice versa. Thus both stones will move on the impulse if they are movable at all and not blocked in the direction of the impulse. The impulses may originate from an actor hitting a stone, an it_puller, an st_rotator, an st_stoneimpulse.

Attributes

  • anchor1 values: stone object; default: nil

Object reference or name of a stone that the wire will be connected to. Note that the reference will be immediately evaluated and thus the stone must exist already.

  • anchor2 values: stone object; default: nil

Object reference or name of a stone that the wire will be connected to. Note that the reference will be immediately evaluated and thus the stone must exist already.

Gadgets

ot_counter

Bild:ot_counter.png

Info: This object will be introduced in Enigma 1.1. It was introduced at Revision 1494.

ot_timer

Bild:ot_counter.png

Info: This object will be introduced in Enigma 1.1. It was introduced at Revision 1609.

Persönliche Werkzeuge