GetFacing

From NWN Lexicon



Contents

[edit] GetFacing(object)

Used to determine which direction something is facing.

float GetFacing(
    object oTarget
);

[edit] Parameters

oTarget

The object to return the facing value of.


[edit] Description

Returns a float between 0.0 and 360.0 that determines which direction oTarget is facing.
Returns -1.0 on error.



[edit] Remarks

From version 1.62+, this now rounds the value to the nearest degree.


[edit] Version

1.30

[edit] See Also

functions: 

MoveToNewLocation



 author: Charles Feduke, editor: Jasperre, additional contributor(s): Morz, Keith Voss, Lilac Soul
 

Personal tools
Categories