GetAngles (script event)

From modwiki

Jump to: navigation, search

Description

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

Usage

In your script type...

vector getAngles()

Parameters

This script event does not accept parameters.

Examples

 
angles = $player1.getAngles();

Notes

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


Personal tools
Main