4.11 Adressing of Xpressionists Relatives

Xpressionist lets you adress relatives of the Xpressionsit plugin group. If Xpressionist is bound into a hierarchy you can write expressions that will influence only objects that are hierachially connected to the Xpressionist plugin such as objects which Xpressionist is linked to (parents) or objects which are linked to the Xpressionist group (children).

Parents

The parent of the current Xpressionist group can be adressed using this syntax:

_parent.Position.X = 20; // Sets the X position of the object Xpressionist is linked to to 20

Children

The children of the current Xpressionist can be adressed using this syntax:

_child_3.Position.X = 20; // Sets the X position of the third child object of Xpressionist to 20

Adressing of the Xpressionist group itself

The current Xpressionist group - the one you are currently working in - can be adressed using this syntax:

_me.Position.X = 20; // Sets the X position of the current Xpressionist group to 20

This is useful for premade scripts that can simply be linked to objects by simply linking the Xpressionist plugin to an object, or by linking objects to the Xpressionist plugin.

Xpresionsit 3.5