SetOrigin (script event)

Game class

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

Description

Sets the current position of this entity (relative to it’s bind parent if any).

Usage

void setOrigin( vector origin )

Parameters

  • [origin] - The position to apply to this entity.

Examples

 
$my_entity.setOrigin('54 98 78');

Notes

This script event does not return any values.