BindPosition (script event)

Game class

This event operates on an instance of the game class type {{{gameclass}}}

Description

Fixes this entity’s position (but not orientation) relative to another entity, such that when the master entity moves, so does this entity.

Usage

void bindPosition( entity master )

Parameters

  • [master] - The entity that this entity should be bound to.

Examples

 
$childEntity.bindPosition($parentEntity);

Notes

This script event does not return any values.