Category:Miscellaneous Functions
From NWN Lexicon
[edit] Miscellaneous Function Category
Functions that don't fit into any other category.
[edit] Functions
| Name | Brief Description |
|---|---|
| Examine an object | |
| Adds a wait action to an objects queue. | |
| Abruptly kicks a player off a multi-player server. | |
| Duplicates the object specified. | |
| Rolls a 2-sided die (or flips a coin). | |
| Rolls a 3-sided die. | |
| Rolls a 4-sided die. | |
| Rolls a 6-sided die. | |
| Rolls an 8-sided die. | |
| Rolls a 10-sided die. | |
| Rolls a 12-sided die. | |
| Rolls a 20-sided die. | |
| Rolls a 100-sided die. | |
| Makes a creature speak a string that signifies they drank alcohol. | |
| Cause a script to execute. | |
| Force the character of the player specified to be exported to its respective directory, i.e. LocalVault/ServerVault/ etc. | |
| Check if a creature is using a given action mode | |
| Returns a float representing the angle between Location One and Location Two | |
| Gets the tag of the Assassins head object used in a plot in the official release game. | |
| 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 | |
| This returns a float that is a normalized remainder of fDirection - fAngle | |
| This function returns a normalized number that is +135 from the current facing | |
| Returns a normalized number that is -135 from the current facing | |
| Determines the first object of a specific type that is inside a persistent object. | |
| Determines the first object of a specific type (creature, door etc.) in shape. | |
| Determines the game difficulty setting. | |
| This function returns a number that is +45 degrees from the current facing | |
| Returns a normalized value that is -45 from fDirection | |
| Determines if a creature is dead or dying. | |
| Determines whether a creature considers another creature an enemy. | |
| Determines whether a creature has a specific immunity. | |
| Check whether a creature considers another creature to be neutral to them. | |
| Checks if an item is cursed | |
| Returns the last PC that rested. | |
| Gets the last PC that clicked the Respawn button. | |
| This function returns a float representing a direction +90 degrees | |
| Gets the nearest Player Character to the calling object. | |
| Determines the nextobject of a specific type that is inside a persistent object. | |
| Determines the next object of a specific type (creature, door etc) in shape. | |
| This function returns a float that is constrained from 0 - 360 | |
| Returns a normalized direction that is -180 from fDirection | |
| Returns the vector part of a location. | |
| Returns a normalized float that is -90 from the facing passed in | |
| Determines the specific user-defined number that has been sent to it. | |
| Creates a plot ring and places it in a player's inventory. | |
| Displays a GUI panel to a player. | |
| Records a message to the log file. | |
| Generates a random name. | |
| Restores the camera mode and facing. | |
| Sets the status of an action mode on a creature | |
| Sets the graphic shown when a PC moves between two different areas in a module. | |
| Changes the direction the player's camera is facing. | |
| Sets the camera to a certain height | |
| Changes the perspective view of the player on the screen. | |
| Makes NPC available for new instructions. | |
| Sets the value for a custom token. | |
| Set the deity of a creature or PC | |
| Marks an item as droppable or undroppable. | |
| Sets a creature as immortal. | |
| Sets whether an item is cursed or not | |
| Enable a map pin. | |
| Sets the creature's PhenoType (body type) to the type specified. | |
| Sets an object's plot status. | |
| Sets or changes a creature's or PC's subrace | |
| Causes an object to fire a specified event. | |
| Stores the camera facing and position so it can be restored later. | |
|
Removes the item returned by GetArtifactItem from the player's inventory. | |
| Removes the plot related item from a player's inventory. |
Pages in category "Miscellaneous Functions"
The following 72 pages are in this category, out of 72 total.