GetWorldOrigin (script event)

Game class

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

Description

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

Usage

vector getWorldOrigin()

Parameters

This script event does not accept parameters.

Examples

 
postition = $my_entity.getWorldOrigin();

Notes

This script event returns the worldspace postition of this entity as a vector.