Category:Math Functions
From NWN Lexicon
[edit] Math Function Category
Math functions.
[edit] Functions
| Name | Brief Description |
|---|---|
| Get the absolute value of a number. | |
| Gets the arc cosine of a value. | |
| Gets the arc sine of a value. | |
| Gets the arc tangent of a value. | |
| Gets the cosine of a value. | |
| Gets the absolute value of a number. | |
| Returns how many meters are in fFeet. | |
| Seeks out an enemy more than 3m away | |
| Convenience function that returns a vector that is fDistance away in fAngle direction | |
| Convenience function to calculate the change in the X axis | |
| Convenience function that calculates the change in the Y axis to the target | |
| This function returns a normalized number that is the sum of the current facing and the angle to target | |
| The distance in meters between two objects | |
| The distance in meters between two locations in the game. | |
| The distance from the caller of the script to the object in meters. | |
| Get the facing value from a location variable. | |
| Get an integer between 0 and 100 (inclusive) that represents how an objects faction members collectively feel about the target object. | |
| Get the average amount of XPs for all members in an objects faction. | |
| This function returns a normalized number that is +135 from the current facing | |
| Returns a normalized number that is -135 from the current facing | |
| This function returns a float that is constrained from 0 - 360 | |
| Returns a normalized direction that is -180 from fDirection | |
| Generates a random number between two values used for time delays. | |
| Returns a normalized float that is -90 from the facing passed in | |
| This function converts an int to a float of the same value. | |
| This function converts an int to a string representation of the same hexadecimal value. | |
| This function calculates the logarithmic value of fValue | |
| Calculates a number raised to a power. | |
| Returns a pseudo-random number with a range. | |
| Returns the sine of fValue. | |
| Gets the tangent of a given angle. |
Pages in category "Math Functions"
The following 32 pages are in this category, out of 32 total.
ACFG |
G cont. |
G cont.ILPRST |