I feel stupid. Sorry if the answer is obvious, but I still haven't found the answer to this. How can you make a character give an item to the PC at the end of a conversation? The item is a new one I've created.
Dumb question - how to give an item?
Débuté par
Rodro Lliv
, déc. 04 2009 10:11
#1
Posté 04 décembre 2009 - 10:11
#2
Posté 05 décembre 2009 - 02:48
I'm still a newb with scripting in DA. But in the Neverwinter toolset, you'd give an item by attaching a script to a node in your conversation tree. It looks like it works similar in the DA toolset. On the line where your NPC says, "Here's your item," you call a script that contains the UT_AddItemToInventory function, which will create an instance of your item in the PC's inventory. You should probably poke around the scripting tutorials on the wiki to get the framework and scripting "grammar" right - people are still experimenting, so the tutorials are bare bones, but they are a useful a first step. This link is probably where you should start:
http://social.biowar..._player_an_item
http://social.biowar..._player_an_item
#3
Posté 05 décembre 2009 - 05:26
Many thanks, I managed to create the appropriate script with that info.
I completely forgot about the Demo tutorial, I'll keep it in mind for future references.
I completely forgot about the Demo tutorial, I'll keep it in mind for future references.





Retour en haut






