GetFacingFromLocation
From NWN Lexicon
Contents |
[edit] GetFacingFromLocation(location)
Get the facing value from a location variable.
float GetFacingFromLocation( location lLocation );
[edit] Parameters
lLocation
The location to extract the facing from.
[edit] Description
Returns the orientation value from a location variable. A location has three components: the object ID of the area, a vector representing the position within that area, and a floating point number representing the facing. This command retrieves just the facing value from a location variable.
[edit] Remarks
From version 1.62+, this now rounds the value to the nearest degree.
[edit] Known Bugs
Previously noted bugs have been fixed a while ago.
[edit] Version
1.62
[edit] See Also
functions: |
author: John Shuell, editor: Jasperre, additional contributor(s): Lilac Soul, Jasperre