SetWorldOrigin (script event)

From modwiki

Jump to: navigation, search

Game class

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

Description

Sets the current position of this entity (regardless of any bind parent).

Usage

void setWorldOrigin( vector origin )

Parameters

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

Examples

 
$my_entity.setWorldOrigin('57 68 19');

Notes

This script event does not return any values.


Personal tools
Main
id Tech 5