Description
Attaches a player (the 'child') to another player (the 'parent'). Once attached, the child will be unable to move freely until detached or teleported away. Multiple children may be attached to the same parent, but not vice versa.
Snippet
Attach Players(Event Player, Last Created Entity Entity, Vector(0, 0, 0));
Properties
Returns: Void
Parameters: Child, Parent, Offset
Child
Type: Player, Default: Event Player
The player that will attach to the parent. This player will be unable to move freely until detached or teleported away.Parent
Type: Player, Default: Last Created Entity Entity
The player to whom the child will attach. This player's movement will be unaffected and will determine the child's position.Offset
Type: Position, Default: Vector
The coordinates of the child relative to the parent. For example,vect(1,2,0)
would be above and to the left of the parent's head.