Bind (script event)
Game class
This event operates on an instance of the game class type {{{gameclass}}}
Description
Binds one entity to another in a parent-child hierarchy, so that when the parent (master) entity translates or rotates the child entity will move/rotate along with it.
Usage
void bind( entity master )
Parameters
- [master] - The entity that this entity should be bound to.
Examples
$childEntity.bind($parentEntity);
Notes
This script event does not return any values.
When rotated, the child entity will pivot around it’s origin as defined by its “origin” key/value spawn argument pair.