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.
object oItem=CreateItemOnObject( "item_template", GetFirstPC());
Atatch it to the last line of the conversation.
object oItem=CreateItemOnObject( "item_template", GetFirstPC());
Atatch it to the last line of the conversation.
Thank you Jebus!
Thank you Jebus!
You're welcome MasterWaffle!
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.
Ah. Looks like tk102 already beat me to it.
Nice idea of mine, well done me.
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*