SetOrigin (script event)

From modwiki

Jump to: navigation, search

Description

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

Usage

In your script type...

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.


Personal tools
Main