The Fate of Tyrlon and other Dubious Things

A chronicle about life, software development, games and whatever else I come up with!

The Fate of Tyrlon and other Dubious Things header image 2

Silly frustrations lead to silly posts!

March 27th, 2007 · No Comments

Early on when working on the module I realized I would need to learn a lot more about the NWN 2 scripting engine and module development in general.  I have no prior experience working with the NWN toolset (I did not work on any NWN 1 modules).  I am, however, a programmer by degree and training so much of what is going on is familiar, even if the syntax is a bit different than the C#/Java/VB that I am used to.

One thing that was vexing me however was a silly little script called ga_give_item that you usually use during a conversation’s action tab to give an item to the player.  I could not figure out for the life of me why I couldn’t give the player a Scroll I had created!

Well, it turns out, that ga_give_ITEM (emphasis mine) actually means that you can only give uhmm…ITEMS!  As the user Sir Elric on the NWN 2 Builders forums pointed out: You can’t go around putting placeables in the user’s inventory..Is that a table in your pocket or are you happy to see me?

After creating an actual item the script did indeed work as advertised although I still need to tweak my conversation to make it work more consistently for me.

So, to make a really long story short, I’m apparently rather illiterate and don’t understand the difference between an “item” and a “placeable” :-)

Share and Enjoy!
  • StumbleUpon
  • Digg
  • del.icio.us
  • Technorati
  • Fark
  • Slashdot
  • Facebook

If you enjoyed this post, make sure you subscribe to my RSS feed!

Tags: Conversations · Scripting

0 responses so far ↓

  • There are no comments yet...Kick things off by filling out the form below.

Leave a Comment