BindPosition (script event)

From modwiki

Jump to: navigation, search

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

In your script type...

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.


Personal tools
Main