Bind

From The DarkMod Wiki
Jump to navigationJump to search

Description

Bind entities.png

The spawnarg bind binds the named entity to this entity.

The bound entity is called "slave", while the entity it is bound to is usually called "bindmaster".

Binding that the relative position of the slave to the master will stay the same. Forces that act on either the slave or the master are relayed to the other entity, making them act as if they were one unit.

Examples

Entities can be bound at runtime (f.i. an arrow that hits an object is bound to it automatically), or at map compile time (f.i. door handles are bound to their door).

Unbinding objects can happen through player action (f.i. frobbing an arrow unbinds the arrow).

See also bindOrientated, bindToJoint