Neverwinter Vault

Expand AllContract All -Site -My Profile -Features

Neverwinter Nights 2

-NWN2 Files -NWN2 Game Info -NWN2 Resources -NWN2 Community

Neverwinter Nights

-NWN Files -NWN Game Info -NWN Resources -NWN Community

Vault Network
RPG Vault
VN Boards
IGN Vault
Vault Wiki
· Age of Conan
· Anarchy Online
· Asheron's Call
· Dark Age of Camelot
· City of Heroes
· D&D
· EVE Online
· EverQuest
· EverQuest 2
· Final Fantasy
· Guild Wars
· Lineage 2
· Lord of the Rings Online
· Middle Earth
· Neverwinter Nights
· Pirates of the Burning Sea
· Rise of the Argonauts
· Star Wars Galaxies
· Tabula Rasa
· The Matrix Online
· The Witcher
· Titan Quest
· Two Worlds
· Vanguard
· Warhammer
· World of Warcraft

Planet Network
Planet Hub

IGN
Games
Cheats
Entertainment

The Web   The Site  



NWN2 SCRIPTS

- Jump to comments -
Name  Sunjammer's Conversational Item Scripts
Author  Sunjammer
Submitted / Updated  05-13-2008 / 05-18-2010
Category  Scripting routines
Type  Type - Conversations
Format  Code Only
Patch  1.12
NWN2Game  All
Description
Sunjammer's Conversational Item Scripts
13 May 2008
v1.00

Sunjammer's Conversational Item Scripts address a number issues with the standard item-related conversation conditional and action scripts. These new scripts (where appropriate) are stack-aware, allow the builder to specify the category of targets (PC, PC party members or all party members) and allow the builder to specify the location of items (equipped, inventory or both).

The set of scripts currently includes:
  • sj_ca_create_items (replaces ga_give_item)
  • sj_ca_destroy_items (replaces ga_destroy_item)
  • sj_ca_take_items (replaces ga_take_item)
  • sj_cc_check_items (replaces gc_item_count)
  • sj_cc_has_item (replaces gc_check_item)
  • sj_cc_has_items

Getting Started

Download and unzip the ERF file. With the module you wish to use them in open in the toolset, select the Import option from the File menu and then navigate to the ERF file. Double click on the ERF file (or single click and click Open). If successful a message will appear confirming the number of scripts imported and the scripts will appear in the Scripts panel.

Known Issues

There is currently a bug nwscript which means that not all "acquired item" and "lost item" messages are suppressed when dealing with stackable items. This bug has been reported however until it is fixed players will see some individual messages in addition to the summary message created by these scripts.

I've noticed that the ginc_var_ops library does not support <= or >= comparisons. While this can be overcome by reversing the logic or modifying the quantity, it would be more natural for the builder if these operators were supported.

Further Information

If you have any questions, suggestions or constructive comments please let me know here, on the NWN2 Forums, or via my website.

Files

NameTypeSizeDownloads
Sunjammers_Conversational_Item_Scripts_v1.00.zipSunjammers_Conversational_Item_Scripts_v1.00.zip
Submitted: 05-13-2008 / Last Updated: 05-28-2008
zip3.84Kb319
Sunjammer's Conversational Item Scripts v1.00
SCORE OUT OF 10
10
8 votes
View Stats
Cast Your Vote!
Voting FAQ

PORTFOLIO
Add this entry to your portfolio so you can track it
Manage your existing portfolios or create a new one.
SCREENS

Sunjammer's Conversational Item Scripts





You Must Be Logged In to Participate.
Comments (9):

Posted by Jau at 2008-09-11 11:47:47    Voted 10.00 on 09/11/08
Thank you so much for this! I finally can destroy 1 item within a stack of items! Also very well written descriptions and notes, for those of us still learning scripting.

One small suggestion. Would you possibly think of making an #include version of these functions? I'd love to have access to these functions when scripting.

Posted by Indira Lightfoot at 2008-08-05 03:23:58    Voted 10.00 on 08/05/08
I just learned about these on Bioware forum, and now thst i start testing them out, they are just superduper! Thanks SJ!
_________________________
From someone who is starting to feel like an Ent among saplings when playing computer-based D&D games...

Posted by Sunjammer at 2008-05-27 13:56:23    
I've renamed this entry and its scripts however the contents remain unchanged. I've also uploaded a slightly prettier picture.
_________________________
Sunjammer
Code Monkey

Posted by Sir_Elric at 2008-05-20 10:45:07    Voted 10.00 on 05/20/08
Nice work SJ
_________________________
City of Melnibone
ausnwn.dyndns.org:5121

Posted by puket at 2008-05-15 14:57:02    Voted 10.00 on 05/15/08
Thank you.Why a ten?No failure in scripting.Important fix.Well documented in the scripts.

Cheers!

Posted by nicethugbert at 2008-05-14 05:26:35    Voted 10.00 on 05/14/08
NEAT! Take that BORK!
_________________________
NTB's Hills and Valleys Vol. 00

Posted by Caos81 at 2008-05-14 05:03:48    Voted 9.00 on 05/14/08
Glad to have these ones too. Very useful and handy.
_________________________
DM Client Extension for NwN2- Inventory & Variables Manager
xSoH - eXtended Sleight of Hand System
DragonLance Italia NwN2 Italian Shard
NwN2xLauncher

Posted by dreatern at 2008-05-14 04:24:28    Voted 10.00 on 05/14/08
That's a very good work!
_________________________
My Blog: Link (portuguese)

Posted by Qkrch at 2008-05-14 03:40:57    Voted 10.00 on 05/14/08
Late as usual :P but useful as ever
_________________________
The Ancient NWN Spanish Community Link
Academy for Modding Excellence Link
The Everfire Forge, a weapon for your hero Link

You must be Logged In to post comments in this section.

10 - A Masterpiece, Genuinely Groundbreaking
9 - Outstanding, a Must Have
8 - Excellent, Recommended to Anyone
7 - Very Good, Deserves a Look
6 - Good, Qualified Recommendation
5 - Fair, Solid yet Unremarkable
4 - Some Merit, Requires Improvements
3 - Poor Execution, Potential Unrealized
2 - Very Little Appeal
1 - Not Recommended to Anyone

 
Most recent posts on the MMO General Boards
Analyst: Star Wars: The Old Republic Could...Analyst: Star Wars: The Old Republic Could Sell 3M: more numbers
- last reply by Acao on Aug 15, 2011 06:15 PM
which class will your first character be
- last reply by Blisteringballs on Aug 15, 2011 05:50 PM
New Community Content!
- posted by Vault_News on Aug 15, 2011 05:00 PM
New Community Content!
- posted by Vault_News on Aug 15, 2011 04:00 PM
NWN Idea Database Update
- posted by Vault_News on Aug 15, 2011 03:46 PM
Missing Votes for NWN2 Hall of Fame
- posted by Vault_News on Aug 15, 2011 03:40 PM
Missing Votes for NWN Hall of Fame
- posted by Vault_News on Aug 15, 2011 03:39 PM
Random Questions and game altering suggest...Random Questions and game altering suggestions!!!
- last reply by ArkadyTepes on Aug 15, 2011 03:22 PM
State of the game?
- last reply by LyricOpera on Aug 15, 2011 01:37 PM
Yesterday streaming, now demanding downloa...Yesterday streaming, now demanding download :(
- last reply by Sinane-tk on Aug 15, 2011 10:23 AM
 

   


IGN Entertainment
By continuing past this page, and by your continued use of this site, you agree to be bound by and abide by the User Agreement.
Copyright 1996-2011, IGN Entertainment, Inc. | Support | Privacy Policy | User Agreement | RSS Feeds
IGN’s enterprise databases running Oracle, SQL and MySQL are professionally monitored and managed by Pythian Remote DBA.


NWN2 Hall of Fame

HOF NWN2 Gameworlds


View all Hall of Fame entries


Neverwinter Nights 2

TOP NWN2 Modules

NEW Modules

NEW Reviews

NEW INTL. Modules

TOP Hakpaks

TOP Gameworlds

TOP Tutorials

TOP Prefab:Areas

TOP Blueprints

TOP Plugins

TOP UI

TOP Other

TOP Visual Effects

TOP Scripts

TOP Tools

TOP Movies

TOP Models

TOP Characters





Hall of Fame

HOF NWN Modules


View all Hall of Fame entries


TOP NWN Modules

NEW NWN Modules

NEW Reviews

TOP Intl. Modules

TOP NWN Hakpaks

TOP NWN Gameworlds

TOP NWN Models

TOP NWN Portraits

TOP NWN Scripts

TOP NWN Prefabs

TOP NWN Other

TOP NWN Movies

TOP Sounds

TOP NWN Textures

TOP NWN Creatures

TOP NWN Characters