MasterWaffle Posted February 20, 2008 Share Posted February 20, 2008 Hey, just a question. I did look at the tutorials and didn't find anything, so if someone could point me in the right direction that would be realy helpful. How do you make an NPC give an item to the PC at the end of a conversation? I'm sure I just need a script to run after the NPC says something, but I can't find anything. Link to comment Share on other sites More sharing options...
DarthJebus05 Posted February 20, 2008 Share Posted February 20, 2008 object oItem=CreateItemOnObject( "item_template", GetFirstPC()); Atatch it to the last line of the conversation. Link to comment Share on other sites More sharing options...
MasterWaffle Posted February 20, 2008 Author Share Posted February 20, 2008 object oItem=CreateItemOnObject( "item_template", GetFirstPC()); Atatch it to the last line of the conversation. Thank you Jebus! Link to comment Share on other sites More sharing options...
DarthJebus05 Posted February 20, 2008 Share Posted February 20, 2008 Thank you Jebus! You're welcome MasterWaffle! Link to comment Share on other sites More sharing options...
Robespierre Posted February 20, 2008 Share Posted February 20, 2008 Thank you Jebus! Reminds me of a Simpsons quote. Perhaps someone should make a big sticky with all of this information? I mean, its all here but finding it could be made much easier with a sticky in the scripting section. I don't mean just in this thread but all of the scripting question threads, since there's a ton of commands listed there that I don't think are listed anywhere else...If I'm wrong please correct me. Link to comment Share on other sites More sharing options...
DarthJebus05 Posted February 20, 2008 Share Posted February 20, 2008 I got that script from here: http://www.lucasforums.com/showthread.php?t=143412 Link to comment Share on other sites More sharing options...
Robespierre Posted February 20, 2008 Share Posted February 20, 2008 Ah. Looks like tk102 already beat me to it. Nice idea of mine, well done me. Link to comment Share on other sites More sharing options...
MasterWaffle Posted February 21, 2008 Author Share Posted February 21, 2008 I got that script from here: http://www.lucasforums.com/showthread.php?t=143412 See, I must really need a new glasses prescription because I looked through that thread. *facepalm* Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.