GetOrigin (script event)

From modwiki

Jump to: navigation, search

Description

Returns the current position of this entity (relative to bind parent if any).

Usage

In your script type...

vector getOrigin()

Parameters

This script event does not accept parameters.

Examples

 
$my_entity.getOrigin();

Notes

This script event returns the value of this entity's origin key/value pair as a vector.


Personal tools
Main