None
From NWN Lexicon
Jump to navigationJump to search
Functions which do not appear in #include files.
Functions
| Name | Brief Description |
|---|---|
| Get the absolute value of a number. | |
| Gets the arc cosine of a value. | |
| Initiates an attack between two creatures or a creature and an object. | |
| Display casting animation and spell visuals without subsequent spell effects. | |
| Display casting animation and spell visuals without subsequent spell effects. | |
| Cast a spell at a specific location. | |
| Cast a spell at an object. | |
| An action that causes an object to close a door. | |
| Causes the caller to enter the counterspell modal combat mode. | |
| Inserts a command into the Action Queue. | |
| Puts an item in possession into an inventory slot. | |
| Causes the calling creature to equip its most damaging weapon. | |
| Causes the calling creature to equip the most damaging ranged weapon in its inventory. | |
| Causes the calling creature to equip the best armor in its inventory. | |
| Examine an object | |
| Forces an NPC to follow an object. | |
| Attempts to move an NPC to a location. | |
| Attempts to move an NPC to a certain distance of a target object even if a clear path doesn't exist. | |
| Gives a specified item to a target creature. | |
| Causes a creature or PC to use an object. | |
| Instantly sends the calling object to the position of locTarget. | |
| Teleports the calling object to the nearest valid location by the target. | |
| An action that will cause a creature to lock a door or other unlocked object. | |
| Causes the caller to try to move away from a location | |
| Cause the action subject to move to a certain distance away from a target. | |
| Moves an NPC to a location before executing further actions in the action queue. | |
| Cause action subject to move to a certain distance of a target object. | |
| An action that will cause a creature to open a door. | |
| Pause the current conversation. | |
| Causes subject to run to an item and place it in inventory. | |
| Plays an animation (fire and forget, looping, or placeable) before executing the next action in the queue. | |
| Causes the subject to place an item on the ground at it's feet. | |
| Causes the subject to walk to a random location close to itself. | |
| Causes the creature to rest. | |
| Resume a conversation after it has been paused. | |
| Causes a creature to attempt to sit on something. | |
| Causes an object to speak. | |
| Causes the creature to speak a translated string. | |
| NPC action to start a conversation with a PC | |
| Takes an item from an object | |
| Makes the executing creature unequip an object and place it in their inventory. | |
| Causes a creature to unlock a door or other locked object. | |
| Causes an NPC to use a feat on oTarget. | |
| Causes a creature to attempt to use a skill on another object. | |
| Use tChosenTalent at lTargetLocation. | |
| Use tChosenTalent on oTarget. | |
| Adds a wait action to an objects queue. | |
| Send a player's client to a new server, where the player's character will log in. | |
| Adds a henchman NPC to a PC. | |
| Add an itemproperty to an item | |
| Add an entry to a player's Journal. (Create the entry in the Journal Editor first). | |
| Adds a PC to the party of another PC. | |
| Adjusts the alignment of a creature. | |
| Adjusts positively or negatively how a whole faction views a specific person. | |
| Changes the ambient daytime soundtrack of an area. | |
| Modify an Area's nighttime soundtrack. | |
| Starts the ambient soundtrack of an area playing. | |
| Change the volume of the ambient daytime soundtrack in an area. | |
| Change the volume of an area's ambient nighttime soundtrack | |
| Stops ambient sounds playing in an area. | |
| Converts an angle into a vector. | |
| Applies an effect at a location. | |
| Applies an effect (visual or actual) to an object. | |
| Applies the penalty for respawn for the resurrecting PC. | |
| Gets the arc sine of a value. | |
| Assigns an action command to a creature to act on. | |
| Gets the arc tangent of a value. | |
| Attempts to start a conversation immediately. | |
| Makes the screen go black. | |
| Abruptly kicks a player off a multi-player server. | |
| Change a creature's faction to that of another. | |
| Changes a creature's faction to one of the four standard factions. | |
| Removes all actions from an action queue. | |
| Changes the friendly or hostile feelings an NPC or creature may have towards a PC, NPC or other creature. | |
| Duplicates an item. | |
| Copies an item, making a single modification to it | |
| Duplicates the object specified. | |
| Gets the cosine of a value. | |
| Create a specific item in an objects inventory | |
| Create an object of a specified type at a given location | |
| Rolls a 10-sided die. | |
| Rolls a 100-sided die. | |
| Rolls a 12-sided die. | |
| Rolls a 2-sided die (or flips a coin). | |
| Rolls a 20-sided die. | |
| Rolls a 3-sided die. | |
| Rolls a 4-sided die. | |
| Rolls a 6-sided die. | |
| Rolls an 8-sided die. | |
| Changes the current Day/Night cycle for this player to night | |
| Sends a message to the server log file of the talent ID specified. | |
| Decrements the remaining number of uses of a particular feat for a creature. | |
| Decrease the number of spell uses of a particular spell for a given creature. | |
| Delays an assigned action for a period of time. | |
| Deletes a campaign variable from the database. | |
| Deletes oObject's float variable sVarName | |
| Deletes oObject's integer variable sVarName. | |
| Deletes oObject's location variable sVarName. | |
| Deletes oObject's object variable sVarName | |
| Deletes oObject's string variable sVarName. | |
| Destroys a campaign database. | |
| Destroy an object. | |
| Does specific action to target door. | |
| Starts a placeable object special action. | |
| Saves a single player game. | |
| Perform a whirlwind attack. | |
| Creates an ability decreasing effect on specified ability score. | |
| Create an effect that increases an objects specified ability score. | |
| Creates an AC decrease effect. | |
| Gives an AC bonus to an object. | |
| Create a special effect to make the object "fly in". | |
| Returns a new effect object. | |
| Create an Attack Decrease effect. | |
| Create an Attack Increase effect | |
| Create a Beam effect. | |
| Create a Blindness effect. | |
| Create a Charm effect | |
| Returns a new effect object. | |
| Creates a confusion effect. | |
| Create a Curse effect. | |
| Creates an effect that is guaranteed to dominate a creature. | |
| Creates a cutscene ghost effect | |
| Immobilize a creature | |
| Creates an effect that will paralyze a creature for use in a cut-scene. | |
| Returns a new effect object. | |
| Returns a new effect object. | |
| Create a Damage Immunity Decrease effect. | |
| Creates a Damage Immunity Increase effect | |
| Create a Damage Increase effect. | |
| Create a Damage Reduction effect. | |
| Returns a new effect object that makes the target more resistant to certain types of damage. | |
| Creates a damage shield around the target that will damage successful attackers. | |
| Returns a new effect object. | |
| Returns a new effect object. | |
| Returns a new effect object. | |
| Create a Death effect | |
| Returns a new effect object. | |
| Returns a new effect object. | |
| Create a Disease effect. | |
| Create a Dispel Magic All effect. | |
| Create a Dispel Magic Best effect. | |
| Returns a new effect object. | |
| Create an Entangle effect | |
| Creates an effect like the Sanctuary spell, but the observers get no saving throw. | |
| Create a frightened effect for use in making creatures shaken or flee. | |
| Returns a new effect object. | |
| Creates a healing effect. | |
| Returns a new effect object. | |
| Create an Immunity effect. | |
| Create an Invisibility effect. | |
| Returns a new effect object. | |
| Creates one new effect object from two separate effect objects. | |
| Creates a miss chance effect. | |
| Create a Modify Attacks effect that adds attacks to the target. | |
| Create a Movement Speed Decrease effect to slow target. | |
| Create a Movement Speed Increase effect to speed target movement rate. | |
| Create a Negative Level effect that will decrease the level of the target. | |
| Returns a new effect object. | |
| Creates an effect that will petrify a creature. | |
| Create a Poison effect. | |
| Create a Polymorph effect that changes the target into a different type of creature. | |
| Create a Regenerate effect. | |
| Returns a new effect object. | |
| Creates a sanctuary effect. | |
| Create a Saving Throw Decrease effect to lower one Saving Throw type. | |
| Create a Saving Throw Increase effect to raise one Saving Throw type. | |
| Returns a new effect object. | |
| Create a Silence effect | |
| Returns an effect to decrease a skill. | |
| Returns an effect which will cause a skill increase. | |
| Returns a sleep effect. | |
| Creates a slow effect. | |
| Creates an effect that inhibits spells. | |
| Returns an effect of spell immunity. | |
| Returns a Spell Level Absorption effect | |
| Returns a Spell Resistance Decrease effect. | |
| Returns an effect which increases spell resistance. | |
| Returns a Stunned effect. | |
| Creates a summon creature effect. | |
| Returns a Swarm effect. | |
| Create a Temporary Hit points effect that raises the Hit points of the target. | |
| Returns a new effect object. | |
| Returns an effect of True Seeing. | |
| Returns a new effect object. | |
| Create a Turn Resistance Decrease effect that can make creatures more susceptible to turning. | |
| Create a Turn Resistance Decrease effect that can make creatures more resistant to turning. | |
| Returns an effect of Ultravision | |
| Creates a new visual effect object | |
| Ends the currently running game. | |
| Returns an event of type Activate Item. | |
| Returns an event of type Conversation. | |
| Creates an event which triggers a "spell cast at" reaction. | |
| Returns an event of the type nUserDefinedEventNumber. | |
| Cause a script to execute. | |
| Reveals the entire map of an area to a player. | |
| Save all characters in the game. | |
| Force the character of the player specified to be exported to its respective directory, i.e. LocalVault/ServerVault/ etc. | |
| Marks an effect as belonging to the effect subtype Extraordinary. | |
| Gets the absolute value of a number. | |
| Fades the screen from black into normal view. | |
| Fades the screen for a given player to black. | |
| Encapsulates removal of bad effects and healing of oTarget. | |
| Returns how many meters are in fFeet. | |
| Returns the position of sSubstring in sString. | |
| Finds the next target for a guard to attack. | |
| Briefly displays ambient text above targets head. | |
| Briefly displays a string ref as ambient text above targets head. | |
| Converts a number with a decimal into a number without one. | |
| Converts a float into a string. | |
| Fully restores a creature | |
| Returns the result of a Fortitude Save check. | |
| Retrieves a string value from a *.2da file on a server. | |
| Get a creature's ability modifier for a specified ability. | |
| Get the ability score of a specific type for a creature. | |
| Retrieves the AC (armor class) of a creature. | |
| Check if a creature is using a given action mode | |
| Determines the age of a creature. | |
| Retrieves the current AI (artificial intelligence) level that a creature is running at. | |
| Determines the disposition of a creature. | |
| Determines the ethos of a given creature. | |
| Get a creature's familiar creature type. | |
| Gets a creature's familiar name. | |
| Retrieves the appearance of a specified creature. | |
| Gets a creature's arcane spell failure factor | |
| Returns the area oTarget is currently in. | |
| Returns the area that a particular location is in. | |
| Gets the creator of an Area of Effect object. | |
| Returns an object's associate. | |
| Returns the associate type of the specified creature | |
| This function is prototyped but not used. | |
| Determines the current foe under attack by the specified creature. | |
| Determines the last creature that an attempted attack was made on. | |
| Determines the creature a spell was attempted to be cast at. | |
| Retrieves the base attack bonus (BaB) for a specified creature. | |
| Determines the basic template for the item specified. | |
| Determines the door that is blocking a creature. | |
| Retrieves the current in-game calendar day. | |
| Determines the current in-game calendar month. | |
| Determine the current in-game calendar year. | |
| Retrieves a float from the campaign database. | |
| Retrieves an integer value from the campaign database. | |
| Retrieves a location value from the campaign database. | |
| Retrieves a string value from the campaign database. | |
| Retrieves a vector value from the campaign database. | |
| Determines the level of caster for a creature or PC casting a spell. | |
| Approximates the central location of an area. | |
| Returns the challenge rating of the target creature. | |
| Convenience function that calculates the change in the Y axis to the target | |
| Gets the creatures class for the position identified. The position refers to 1st class, 2nd class or third class in a multi class creature. | |
| Used in the OnClick event to return the clicking object. | |
| Determines if the object in question can have actions added to it's action Queue. | |
| Determines whether a creature has a specific talent. | |
| Determines the size class of a creature. | |
| Returns the default level up package | |
| Determines the best talent of a creature from a group of talents. | |
| Retrieves a random talent from a group of talents that a creature possesses. | |
| Returns the currently executing Action. | |
| Determines the number of hit points someone currently has. | |
| Returns the current movement rate factor of the cutscene 'camera man' | |
| Determines the amount of damage of a specific type dealt to an object. | |
| Retrieves the defensive casting mode status of a creature. | |
| Determine the deity of a creature. | |
| Determines if a creature is currently searching. | |
| Retrieves the length of a wave (audio) file in seconds. | |
| 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. | |
| Determines if an item can be dropped. | |
| Gets the object that created eEffect. | |
| Gets the constant that defines the type of effect in eEffect. | |
| This will return the constant of the spell that applied the effect (SPELL_*). | |
| Get the subtype (SUBTYPE_*) of the effect. | |
| Get the type constant of the effect. | |
| Gets a TRUE or FALSE value depending on whether the encounter has spawned and is active. | |
| Get the difficulty level of the encounter. | |
| Get the number of times that the encounter has spawned so far. | |
| Get the maximum number of times that oEncounter will spawn. | |
| Gets the object that last opened or entered the calling object. | |
| Get the object that last left the calling object. | |
| Used to determine which direction something is facing. | |
| Get the facing value from a location variable. | |
| Get the average number (between 0 and 100 inclusive) of the all objects within the object's faction that represents the Good/Evil alignment | |
| Get the average number (between 0 and 100 inclusive) of the all objects within the object's faction that represents the Law/Chaos alignment | |
| Get the average level of the members of the faction. | |
| 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. | |
| Get the member of a faction (party) who has the highest Armor Class. | |
| Are both objects in the same faction? | |
| Get the amount of gold held by all members of a certain faction. | |
| Gets the leader of a players party. | |
| Get the member of oFactionMember's faction that has taken the fewest hit points of damage. | |
| Get the member of oFactionMember's faction that has taken the most hit points of damage. | |
| Returns a constant representing the most common type of class amongst the members of a faction (party). | |
| Get the member of an object's faction who is the strongest. | |
| Get the weakest member in a faction (party). | |
| Get the object faction member with the lowest armor class. | |
| Gets the PC's animal companion creature type. | |
| Get a creature's animal companion name. | |
| Determines the first active effect on a creature. | |
| Obtains the first member of the faction that a creature is a member of. | |
| Determines the first object of a specific type that is inside a persistent object. | |
| Determines the first item in an object's inventory. | |
| Determines the first itemproperty on an item | |
| Determines the first object in an area. | |
| Determines the first object of a specific type (creature, door etc.) in shape. | |
| Obtains the first PC | |
| Determines the base fortitue saving throw number of a creature, door or placeable. | |
| Determines the game difficulty setting. | |
| Determines the gender of a creature. | |
| Determines the creature that is going to attack another creature in the current combat round. | |
| Gets the amount of gold that a creature possesses. | |
| Determines the value of an item in gold pieces. | |
| Determines a creature's relative good/evil rating. | |
| Test whether a creature is able to perform a feat. | |
| Determines whether a creature has the effects of a feat. | |
| Determine whether an object has an inventory. | |
| Determines whether a creature has a skill. | |
| Determines whether a creature has a spell available. | |
| Determines whether an object is under the effects of a spell. | |
| Determines the henchman of a PC. | |
| Determines the HD of a creature. | |
| Determines whether an object has been identified. | |
| Determines the identifier of a talent. | |
| Retrieves the mortality of a creature. | |
| Returns the disturbing item in an inventory OnDisturbed event. | |
| Determines the type of disturbance of an inventory. | |
| Determines whether an area is above ground or not. | |
| Returns whether an area is natural or not | |
| Check if oCreature can be disarmed | |
| Determines if it's currently dawn. | |
| Determines if it is currently day. | |
| Determines if a creature is dead or dying. | |
| Determines whether a creature is a DM avatar. | |
| Returns whether the creature is possessed by a DM | |
| Determines whether an action can be used on a door. | |
| Determines if it is currently dusk. | |
| Determines whether an effect is valid. | |
| Determines whether a creature was spawned from an encounter. | |
| Determines whether a creature considers another creature an enemy. | |
| Check whether a creature considers another creature a friend. | |
| Determines whether a creature has a specific immunity. | |
| Determines whether a creature is in combat. | |
| Checks if a creature has triggered an OnEnter event | |
| Checks if an itemproperty is valid. | |
| Check whether an object is listening for something. | |
| Check whether a creature considers another creature to be neutral to them. | |
| Determines if it is currently night. | |
| Determines whether an object is valid. | |
| Check whether a placeable or door is currently open. | |
| Check whether a creature is player controlled. | |
| Check whether a given action is valid for a given placeable object. | |
| Determine whether the target creature is one of the playable races. | |
| Retrieves the controller status of a familiar. | |
| Determine whether a creature has a friendly reaction towards another given creature. | |
| Determine whether a creature has a hostile reaction towards another given creature. | |
| Determine whether oSource has a neutral reaction towards oTarget | |
| Check whether a creature is resting. | |
| Determines if a skill roll is successful. | |
| Check whether a talent is valid. | |
| Check whether an object is trapped. | |
| Check whether script owner's equipped weapon is able to damage a given object. | |
| Retrieve the item which was activated to trigger the module's OnActivateItem event. | |
| Determine the activated item's target. | |
| Determine the location of the activated item's target. | |
| Retrieve the creature which activated an item. | |
| Get the armor class (AC) of an item. | |
| Returns the appearance of an item | |
| Retrieves the number of charges remaining on a given item. | |
| Checks if an item is cursed | |
| Check whether an item has a given property. | |
| Retrieve the item in a given inventory slot of a creature. | |
| Get an item with a specific tag in a given creature or placeable's inventory. | |
| Get the creature or object who possesses a specified item. | |
| Returns the cost table number of the itemproperty. | |
| Returns the cost table value of an itemproperty. | |
| Gets the duration type of an itemproperty. | |
| Returns the Param1 number of the item property. | |
| Returns the Param1 value of the item property. | |
| Gets the subtype of an itemproperty. | |
| Returns the type of itemproperty a property is. | |
| Retrieves the number of similar items in a stack. | |
| Returns the amount of experience set for a journal category. | |
| Get the last command issued to a given associate. | |
| Determine who last attacked a creature, door or placeable object. | |
| Determine a creature's combat mode. | |
| Determine the attack type of a creature's last attack. | |
| Determine which creature closed a door or placeable. | |
| Get the object which last damaged a creature or placeable object. | |
| Determine who last disarmed a trapped trigger, door or placeable object. | |
| Determine who last disturbed the inventory of an object or creature. | |
| Gets the last living, non plot creature that performed a hostile act against the object. | |
| Get the object that killed the caller. | |
| Get the last object that locked the caller. | |
| Get the last creature that opened the caller. | |
| Returns the last PC that rested. | |
| Retrieves the last player to leave a cut-scene. | |
| Determines the last perceived creature in an OnPerception event. | |
| Determines if the last perceived object was heard. | |
| Gets the last perceived object which can no longer be heard. | |
| Determines if the last perceived object was seen. | |
| Determines the last perceived creature has vanished. | |
| Determines the last PC that died. | |
| Retrieves the last player that is currently dying. | |
| Gets the last PC that clicked the Respawn button. | |
| Determines the status of the last PC rest. | |
| Determines the last creature that was communicated with. | |
| Determines the spell that was last cast. | |
| Returns the class that the spellcaster cast the spell as | |
| Determines who last cast a spell. | |
| Determines whether the last spell cast was harmful. | |
| Determines the trap last detected by the PC. | |
| Determines who unlocked the object or placeable. | |
| Get the last object that used the placeable object that is calling this function. | |
| Get the last weapon that oCreature used in an attack. | |
| Used to find an object's law/chaos value. | |
| Get the level of an object in a given class. | |
| Get the class level of an object from the class table. | |
| Check if a conversation pattern has been activated in an OnConversation event. | |
| Get the value of a decimal number stored on an object. | |
| Get the value of a whole number stored on an object. | |
| Get the data describing a location stored on an object. | |
| Get the data describing an object stored on an object. | |
| Get the value of a string of characters stored on an object. | |
| Gets the location of an object. | |
| Check whether a given object is locked. | |
| Check whether an object requires a specific key to be unlocked. | |
| Gets the tag of the key that will open the lock on an object | |
| Check whether or not an object is lockable. | |
| Find a lock's lock DC. | |
| Find a lock's unlock DC. | |
| Returns the lootable state of a creature | |
| Determine who controls a creature. | |
| Get a matched substring specified by a listen pattern. | |
| Get the number of listen pattern substrings matched. | |
| Gets the maximum number of henchmen | |
| Get the maximum hit points (HP) of an object. | |
| Get the type of metamagic used on the last spell. | |
| Gets the object describing the module. | |
| Get the item acquired on an OnAcquiredItem event. | |
| Retrieves an object that acquired a module item. | |
| Get the last owner of the item acquired on an OnAcquiredItem event. | |
| Determines the stack size of an item belonging to a module that was just acquired. | |
| Get the object that was dropped on an OnUnAcquiredItem event. | |
| Get the creature that lost the item on an OnUnAcquiredItem event. | |
| Get the module name. | |
| Returns the movement rate of a game being | |
| Retrieves the name of an object. | |
| Determines the nearest creature to a target object. | |
| Gets the nearest creature, which matches supplied criteria, to a given location. | |
| Gets the nearest object, which matches given criteria, to the selected target. | |
| Returns the nearest object to a target by searching for the objectâs tag value. | |
| Returns the nearest object, which is of a specified type, to a given location. | |
| Determines the closest trap from a creature or object. | |
| Determines the next active effect on a creature. | |
| Obtains the next member of the faction that a creature is a member of. | |
| Determines the nextobject of a specific type that is inside a persistent object. | |
| Determines the first item in an object's inventory. | |
| Determines the next itemproperty on an item | |
| Determines the next object in an area. | |
| Determines the next object of a specific type (creature, door etc) in shape. | |
| Obtains the next PC in the player list. | |
| Determines the number of stacked items contained within an inventory object. | |
| Retrieves an object based on the tag given to it. | |
| Determines if an object can hear another object. | |
| Determines whether an object sees another object. | |
| Determines what type the object is. | |
| Retrieves the IP address of a PC. | |
| Returns the last equipped item | |
| Returns the PC that last equipped an item | |
| Returns the last unequipped item | |
| Get the PC who last unequipped an item | |
| Retrieves reference to the last PC that levelled up. | |
| Retrieves the login name of the player of a PC. | |
| Retrieves the public version of the PC's CD key. | |
| Retrieves the PC that is currently in a conversation with an NPC. | |
| Returns the creature's currently set PhenoType (body type). | |
| Retrieves the current state of a placeables illumination. | |
| Determines whether an object is flagged as plot item. | |
| Determines the position of a creature or object. | |
| Returns the vector part of a location. | |
| Determines the race of a creature. | |
| This function is prototyped but not used. | |
| Determines the damage to be applied after saving throws are applied. | |
| Determines the base reflex saving throw number of a creature, door or placeable. | |
| Determines how one creature feels toward another creature. | |
| Returns the ResRef of an object. | |
| Determines which creature sitting on a particular object. | |
| Determines a creature's rank in particular skill. | |
| Determines the object that caused the spell script to be called. | |
| Determines the spell identifier for a spell which a script is currently processing. | |
| Returns the spell resistance of the specified creature | |
| Determines the DC needed to save against the cast spell. | |
| Determines the location of a spell's target location. | |
| Retrieves the target of the caller's last spell. | |
| Determines a creature's faction standing within a given standard faction group. | |
| Determines the starting location of the module. | |
| Determines if a given creature is using a stealth mode. | |
| Determine if an item has been stolen. | |
| Returns the amount of gold a store currently has | |
| Determines how much a store charges to identify items | |
| Gets the maximum amount a store will pay for any item | |
| Determines translated string by string reference. | |
| Gets a substring from within a string. | |
| Determines the length of a string. | |
| Convert a string to lower case. | |
| Gets a substring from within a string. | |
| Convert string to upper case. | |
| Determine the duration of a sound attached to a string reference. | |
| Determines the sub race of a creature. | |
| Get a substring from within a string. | |
| Determine the tag associated with an object. | |
| Determines the color of the first main light of a tile. | |
| Determines the second main light color for a tile. | |
| Determines the color of the first light source for a tile. | |
| Determines the color of the second light source of a tile. | |
| Gets the current hour. | |
| Gets the current millisecond. | |
| Gets the current minute. | |
| Gets the current second. | |
| Get the total amount of damage that was last dealt to the caller. | |
| This function is prototyped but not used. | |
| Gets the associated transitional target. | |
| Determines the type (i.e. frost, spike, etc.) of a trap. | |
| Returns the name of the creature that set the specific trap. | |
| Determines if the specific trap has been set as detectable or not by the toolset. | |
| Determines the DC required to detect the specific trap. | |
| Determines whether a creature has detected a specific trap. | |
| Determines if the specific trap is capable of being disarmed. | |
| Determines the DC for the trap to be disarmed. | |
| Determine if a specific trap has been set as visible to all creatures. | |
| Determines the identifier of the key required to disarm the specific trap. | |
| Determines if the trap was designated as only going off once. | |
| Determines the number of HitDice of Turn Resistance the undead creature has. | |
| Determines the primary category of the talent requested. | |
| Determines if a placeable object is usable. | |
| Determines the specific user-defined number that has been sent to it. | |
| Does not exist. | |
| Get the first waypoint with a specified tag. | |
| Checks whether a given item is a ranged weapon. | |
| Gets the current weather conditions for a given area | |
| Retrieves the weight of an individual item, or the weight of all objects carried by a single creature. | |
| Determines the base will saving throw number of a creature, door or placeable. | |
| Get a given creature's experience. | |
| Creates the specified amount of gold on the creature. | |
| Gives an amount of experience to the specified creature. | |
| Invalid function; does nothing (use RemoveEffects(object) from nw_i0_plot instead). | |
| Checks if caller has spell | |
| This function calculates the number of actual seconds in n game hour(s). | |
| Give a creature one extra use of a given feat | |
| This function will insert a string into the destination string at the position indicated by nPosition. | |
| 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 converts an int to a string representation of the same value. | |
| Determines whether an object is in conversation. | |
| Sets an ability bonus itemproperty. | |
| Sets an armor class bonus itemproperty. | |
| Sets an "armor class bonus against an alignment group" itemproperty. | |
| Sets an "armor class bonus against damage type" itemproperty. | |
| Sets an "armor class bonus against racial type" itemproperty. | |
| Sets an "armor class bonus against specific alignment" itemproperty. | |
| Sets an itemproperty which modifies an arcane spell failure factor. | |
| Sets an attack bonus itemproperty. | |
| Sets an "attack bonus versus alignment group" itemproperty. | |
| Sets an "attack bonus versus race" itemproperty. | |
| Sets an "attack bonus versus specific alignment" itemproperty. | |
| Sets an attack penalty itemproperty. | |
| Sets a bonus feat itemproperty. | |
| Sets a "bonus spell of a specified level" itemproperty. | |
| Sets a saving throw bonus itemproperty. | |
| Sets a "saving throw bonus" itemproperty. | |
| Sets a "spell resistance bonus" itemproperty. | |
| Sets a "cast spell" itemproperty. | |
| Sets a "reduced weight container" itemproperty. | |
| Sets a damage bonus itemproperty. | |
| Sets a "damage bonus versus alignment group" itemproperty. | |
| Sets a "damage bonus versus racial type" itemproperty. | |
| Sets a "damage bonus versus specific alignment" itemproperty. | |
| Sets a damage immunity itemproperty. | |
| Sets a damage penalty itemproperty. | |
| Sets a damage reduction itemproperty. | |
| Sets a damage resistance itemproperty. | |
| Sets a damage vulnerability itemproperty. | |
| Sets a darkvision itemproperty. | |
| Sets a decrease ability itemproperty. | |
| Sets a "decrease armor class" itemproperty. | |
| Sets a decrease skill item property. | |
| Sets an enhancement bonus item property. | |
| Sets an "enhancement bonus versus alignment group" itemproperty. | |
| Sets an "enhancement bonus versus racial type" itemproperty. | |
| Sets an "enhancement bonus versus specific alignment" itemproperty. | |
| Sets an enhancement penalty ability bonus. | |
| Sets an "extra melee damagetype" itemproperty. | |
| Sets an "extra ranged damagetype" itemproperty. | |
| Sets a free action (freedom of movement) itemproperty. | |
| Sets a haste itemproperty. | |
| Sets a healers' kit itemproperty. | |
| Sets a holy avenger itemproperty. | |
| Sets an immunity itemproperty. | |
| Sets an "immunity to spell level" itemproperty. | |
| Sets an improved evasion itemproperty. | |
| Sets a keen itemproperty. | |
| Sets a light itemproperty. | |
| Sets an "only usable by alignment group" itemproperty. | |
| Sets an "only usable by class" itemproperty. | |
| Sets an "only usable by race" itemproperty. | |
| Sets an "only usable by specific alignment" itemproperty. | |
| Sets a massive criticals itemproperty. | |
| Sets a mighty itemproperty. | |
| Sets a monster damage itemproperty. | |
| Sets a no damage itemproperty. | |
| Sets an "on hit cast spell" item property. | |
| Sets an OnHit itemproperty. | |
| Sets an "on monster hit" itemproperty. | |
| Sets a "reduced saving throw" item property. | |
| Sets a "reduced saving throw" itemproperty. | |
| Sets a regeneration itemproperty. | |
| Sets a skill bonus itemproperty. | |
| Sets a special walk itemproperty. | |
| Sets an "immunity against spell school" itemproperty. | |
| Sets an "immunity to specific spell" itemproperty. | |
| Sets a thieves' tools itemproperty. | |
| Sets a trap itemproperty. | |
| Sets a true seeing itemproperty. | |
| Sets a turn resistance itemproperty. | |
| Sets an unlimited ammo itemproperty. | |
| Sets a vampiric regeneration itemproperty. | |
| Allows a melee weapon have a certain glow. | |
| Sets an increased weight itemproperty. | |
| Sets a weight reduction itemproperty. | |
| This is a command to move instantly to the location referenced by lLocation. | |
| Teleports the calling object to the nearest valid location by the target. | |
| Makes the caller jump to the most damaged enemy. | |
| Levels up a creature using the default settings. | |
| Is there a line of sight between two objects | |
| Returns whether there's a direct line between two positions | |
| Set the value of a Location data structure | |
| This function calculates the logarithmic value of fValue | |
| This function sets the effects sub type to magical. | |
| Builds the tag for the waypoint to walk to. | |
| This function is prototyped but not used. | |
| This function is prototyped but not used. | |
| Changes the background daytime music for the area specified. | |
| Changes the background nighttime music for the area specified. | |
| Gets the background battle track for an area. | |
| Gets the daytime background track for an area. | |
| Gets the nighttime background track for an area. | |
| Starts the currently selected background track playing. | |
| This function changes the delay (in milliseconds) of the background music. | |
| Stops playing the currently selected background track. | |
| Changes the battle music for the area specified. | |
| Starts the currently selected battle track playing | |
| Stops the currently playing battle track. | |
| Gets the tag of the next waypoint to walk to. | |
| Changes the current Day/Night cycle for this player to daylight | |
| Converts an object into a hexadecimal string. | |
| Opens a player's inventory panel. | |
| Opens a store for PCs to barter. | |
| Play an animation. | |
| Plays a sound on the client machine. | |
| Plays a sound associated with a string reference (StrRef). | |
| Plays a voice chat. | |
| Displays a customizable death panel. | |
| Displays a GUI panel to a player. | |
| Calculates a number raised to a power. | |
| Records a floating point number to the log file. | |
| Records an integer to the log file. | |
| Prints an object's ID number to the log file. | |
| Records a message to the log file. | |
| Records a vector to the log file. | |
| Returns a pseudo-random number with a range. | |
| Generates a random name. | |
| Recomputes the lighting in an area based on current static lighting conditions. | |
| Performs a ReflexSave check. | |
| Removes an effect from a creature or object. | |
| Removes a PC from their party. | |
| Removes the henchmen from the employ of a PC. | |
| Removes an itemproperty from an item. | |
| Removes a journal quest entry from a PCs journal. | |
| Removes an associate NPC from the service of a PC. | |
| Performs a spell resistance check between the caster and the target. | |
| Sets NPC to respond to numerous alerts sent by PC or other NPCs. | |
| Restores the number of base attacks back to it's original state | |
| Restores the camera mode and facing. | |
| Retrieves an object stored in the campaign database. | |
| Converts a number of rounds into seconds. | |
| Allows a water elemental to fill its victimâs lungs with water, drowning the victim. | |
| Handles the dealing of damage each round by the Melfâs Acid Arrow spell. | |
| Makes an NPC move to their initial waypoint. | |
| Makes a guard search for and attack the nearest PC. | |
| Sends a message to all Dungeon Masters on server. | |
| Sends a message to the PC. | |
| Send a message to a player | |
| Sets the status of an action mode on a creature | |
| Sets the AI (artificial intellegence) level of a creature. | |
| Sets the graphic shown when a PC moves between two different areas in a module. | |
| Prepares an associate (henchman, summoned, familiar) to be commanded. | |
| Sets the number of base attacks for the specified creature | |
| Set calendar date for the 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. | |
| Sets the value of a float in the campaign database. | |
| Sets the value of an integer in the campaign database. | |
| Sets the value of a location in the campaign database. | |
| Sets the value of a string in the campaign database. | |
| Sets the value of a vector in the campaign database. | |
| Makes NPC available for new instructions. | |
| Change a creature's appearance | |
| Sets the value for a custom token. | |
| Sets the current movement rate factor for the cutscene cameraman | |
| Sets the cut-scene mode. | |
| Set the deity of a creature or PC | |
| Marks an item as droppable or undroppable. | |
| Sets an encounter to active or inactive. | |
| Sets the difficulty level of an encounter. | |
| Sets the number of times that an encounter has spawned. | |
| Sets the maximum number of times that an encounter can spawn. | |
| Sets the object to face a certain direction. | |
| Sets the object to face the direction of a vector. | |
| Sets the fog color in the area specified. | |
| Sets whether an object has been identified. | |
| Sets a creature as immortal. | |
| Sets whether an object is destroyable. | |
| Causes an creature to consider another creature an enemy indefintely or for a fixed time. | |
| Causes an creature to consider another creature a friend indefintely or for a fixed time. | |
| Causes an creature to consider another creature neutral indefintely or for a fixed time. | |
| Sets the number of charges left on a given item. | |
| Sets whether an item is cursed or not | |
| Set the number of items in a given stack. | |
| Sets whether an object should listen. | |
| Sets an object to listen to a particular pattern. | |
| Store a float as a local variable within an object. | |
| Store a number as a local variable within an object. | |
| Store a location as a local variable within an object. | |
| Store an object as a local variable within an object. | |
| Store a string as a local variable within an object. | |
| Locks or unlocks a door or placeable. | |
| Sets whether a creature leaves a lootable corpse upon death | |
| Enable a map pin. | |
| Sets the maximum number of henchmen | |
| Make a panel button in the player's client start or stop flashing. | |
| Sets the fact that a player dislikes a creature (or object). | |
| Causes a creature to "like" a PC. | |
| Sets the creature's PhenoType (body type) to the type specified. | |
| Sets the illumination for a placeable on or off. | |
| Sets an object's plot status. | |
| Changes the sky that is displayed in the specified area. | |
| Set a creature's faction standing within a given standard faction group. | |
| Set whether the item is stolen | |
| Sets the amount of gold a store has | |
| Set how much a store charges to identify items | |
| Sets the maximum amount a store will pay for any item | |
| Sets or changes a creature's or PC's subrace | |
| Sets the main light colors for a tile. | |
| Sets the source light color for a tile. | |
| Sets the game's current time. | |
| Makes a trap detected by a creature | |
| Disables the trap on the specified object. | |
| Allows you to set the weather for an area or the entire module. | |
| Sets a creatures experience points to a particular value. | |
| Causes an object to fire a specified event. | |
| Returns the sine of fValue. | |
| Play a sound object. | |
| Sets the position of a sound object relative to the player(s). | |
| This function will set the volume of a placed sound object, great for creating mood effects. | |
| Stops a sound object from playing. | |
| Fires the script debugger for debugging a running script. | |
| Immediately speak a conversation one-liner. | |
| Forces an object to immediately speak. | |
| Causes an object to instantly speak a translated string. | |
| This function is prototyped but not used. | |
| Moves the existing players to a new module. | |
| Removes any current fading effects or black screen. | |
| Stores the camera facing and position so it can be restored later. | |
| Stores an item or creature in the campaign database. | |
| Converts a string into a floating point number. | |
| Converts a string to an integer. | |
| FUNCTION NO LONGER EXISTS! | |
| Modifies an effect to make it a Supernatural effect. | |
| Causes all creatures in a 10 meter (1 tile) radius to stop actions, improves the creature's reputation with nearby enemies for 3 minutes. Only works for NPCs. | |
| Removes the plot related item from a player's inventory. | |
| Removes the plot related item from a player's inventory. | |
| Removes the plot related item from a player's inventory. | |
| Takes a specified amount of gold away from a creature. | |
| Creates a talent that corresponds to an associated D&D feat. | |
| Creates a skill talent | |
| Creates a spell talent | |
| Gets the tangent of a given angle. | |
| Returns whether or not the given text matches the pattern. | |
| Performs a touch melee attack out of turn. | |
| Executes and determines the results of a ranged touch attack. | |
| Convert turns into seconds. | |
| This function is prototyped but not used. | |
| Unpossesses a familiar from its controller. | |
| Creates a vector (position) from three points. | |
| Determines the magnitute of a vector. | |
| Normalize a vector. | |
| Converts a vector variable to an angle. | |
| Set eEffect to be versus a specific alignment. | |
| Set eEffect to be versus nRacialType. | |
| Modifies an effect so that it only works against traps. | |
| Performs a Will Save check. | |
| Records a string in the log file along with a date-time stamp. | |
| Gets the number of meters in a number of yards. |
author: Charles Feduke