Bind: Difference between revisions
From The DarkMod Wiki
Jump to navigationJump to search
first stab |
|||
Line 13: | Line 13: | ||
Unbinding objects can happen through player action (f.i. frobbing an arrow unbinds the arrow). | Unbinding objects can happen through player action (f.i. frobbing an arrow unbinds the arrow). | ||
See also [[bindOriented]] | |||
{{spawnargs}} | {{spawnargs}} |
Revision as of 06:28, 25 April 2009
Description
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 bindOriented