object.place_between_me_and

Spawn a new object between this object and another.

This function returns object.

Arguments

other

The other object to use as a basis.

type

A type of object that can exist in the game world.

radius

The created object will have a cylinder shape, and this controls the radius. A value of 10 represents one Forge unit. If the radius is zero or negative, then the game will use 10 instead. Radii are clamped to the range [0, 200].

Example

global.object[0] = global.object[1].place_between_me_and(global.object[2], skull, 0)

Notes

See also